/* ==========================================================================
   MechServi Premium Design System & Stylesheet
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Color Palette - Cream & Deep Violet Theme */
  --bg-primary: #FDFDFB;
  --bg-secondary: #F5F3ED;
  --bg-dark-primary: #0B0E14;
  --bg-dark-secondary: #121824;
  --bg-dark-card: #1A2232;
  
  --color-primary: #F05A28;      /* Electric Purple */
  --color-primary-rgb: 240, 90, 40;
  --color-primary-dark: #C1272D;
  --color-primary-light: #FF8A65;
  --color-secondary: #C1272D;    /* Electric Cyan */
  --color-secondary-rgb: 193, 39, 45;
  --color-accent: #EF4444;       /* Emergency Red */
  --color-accent-rgb: 239, 68, 68;
  --color-green: #10B981;        /* Success Green */
  
  /* Text Colors */
  --text-dark: #1F1B2E;
  --text-dark-muted: #5D596F;
  --text-light: #F9FAFB;
  --text-light-muted: #9CA3AF;
  
  /* Layout & Spacing */
  --max-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(240, 90, 40, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

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

/* Utility Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 30%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.bg-dark-section {
  background-color: var(--bg-dark-primary);
  color: var(--text-light);
}

.bg-dark-section h2, .bg-dark-section h3, .bg-dark-section h4 {
  color: var(--text-light);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(253, 253, 251, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  transition: var(--transition);
}

/* Splash Screen */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(253, 253, 251, 0.75); /* Semi-transparent background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.splash-logo {
  width: 100px;
  height: auto;
  animation: splashPulse 1.2s infinite alternate ease-in-out;
}

@keyframes splashPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 1; }
}
header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
  background-color: rgba(253, 253, 251, 0.95);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-dark);
}

.logo img {
  height: 38px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav a {
  font-weight: 500;
  color: var(--text-dark-muted);
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

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

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(240, 90, 40, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 90, 40, 0.4);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-dark);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background-color: #EAE6DC;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-dark-cta {
  background-color: var(--text-light);
  color: var(--bg-dark-primary);
}

.btn-dark-cta:hover {
  background-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  background: none;
  border: none;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem 0;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(240, 90, 40, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 10% 70%, rgba(193, 39, 45, 0.05) 0%, transparent 45%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* Scrolling Background Text */
.hero-bg-text-container {
  position: absolute;
  top: 40%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero-bg-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 16vw;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(240, 90, 40, 0.12);
  animation: scrollBgText 40s linear infinite;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

@keyframes scrollBgText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(240, 90, 40, 0.08);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(240, 90, 40, 0.15);
}

.hero-tag span {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

/* Staggered load animation for hero text */
.hero-line {
  display: block;
  overflow: visible;
  margin-bottom: 0.2rem;
}

.hero-line:last-child {
  margin-bottom: 0;
}

.hero-line .word {
  display: inline-block;
  transform: translateY(60px) skewY(3deg);
  opacity: 0;
  filter: blur(4px);
  animation: revealWord 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
  cursor: default;
}

/* Add custom horizontal gap between words so they flow naturally */
.hero-line .word:not(:last-child) {
  margin-right: 0.18em;
}

.hero-line .word:hover {
  transform: translateY(-6px) scale(1.06) rotate(1deg);
  color: var(--color-primary);
  text-shadow: 0 4px 12px rgba(240, 90, 40, 0.15);
}

/* Stagger delays for word reveal */
.hero-line:nth-child(1) .word:nth-child(1) { animation-delay: 0.1s; }
.hero-line:nth-child(1) .word:nth-child(2) { animation-delay: 0.22s; }
.hero-line:nth-child(1) .word:nth-child(3) { animation-delay: 0.34s; }
.hero-line:nth-child(2) .word:nth-child(1) { animation-delay: 0.46s; }

@keyframes revealWord {
  to {
    transform: translateY(0) skewY(0deg);
    opacity: 1;
    filter: blur(0);
  }
}

/* Rotating Words Wrapper */
.rotating-words-wrapper {
  display: inline-flex;
  position: relative;
  height: 1.2em;
  vertical-align: bottom;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  padding-bottom: 12px; /* Space for underline spacing */
  margin-left: 0.15em;
}

.rotating-word {
  position: absolute;
  left: 0;
  bottom: 12px;
  opacity: 0;
  transform: translateY(80%) rotateX(-60deg);
  transform-origin: 50% 100%;
  filter: blur(6px);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
              opacity 0.5s ease, 
              filter 0.5s ease;
  white-space: nowrap;
  background: var(--gradient, linear-gradient(135deg, #F05A28, #C1272D));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.rotating-word.active {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  filter: blur(0);
  z-index: 2;
}

.rotating-word.exit {
  opacity: 0;
  transform: translateY(-80%) rotateX(60deg);
  filter: blur(6px);
  z-index: 1;
}

/* Handwritten Underline Animation */
.handwritten-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  pointer-events: none;
  z-index: 3;
}

.handwritten-underline path {
  stroke: var(--color-primary);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px rgba(240, 90, 40, 0.15));
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-dark-muted);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 2rem;
  max-width: 550px;
}

.hero-stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.hero-stat-item p {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Floating CSS Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blob-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 90, 40, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.smartphone-mockup {
  width: 320px;
  height: 640px;
  background-color: #000000;
  border: 12px solid #1E1B4B;
  border-radius: 40px;
  position: relative;
  z-index: 2;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 40px rgba(240, 90, 40, 0.15);
  overflow: hidden;
  animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Dynamic Island */
.smartphone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 25px;
  background-color: #000000;
  border-radius: 20px;
  z-index: 10;
}

/* Simulated App Screen */
.app-screen {
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  padding: 40px 16px 16px 16px;
  font-size: 0.75rem;
  position: relative;
  overflow: hidden;
}

/* App Mockup Statusbar styling */
.app-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 16px 0 16px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-dark-muted);
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  z-index: 12;
  font-family: 'Outfit', sans-serif;
}

.statusbar-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero-app-screen {
  background-color: #F3F4F6 !important;
  padding-top: 36px !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: flex;
  flex-direction: column;
  border-radius: 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-app-screen .app-header {
  padding: 0 14px 8px 14px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #FFFFFF;
  z-index: 11;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-status-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-green);
  animation: statusPulse 2s infinite;
}

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

.app-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.app-profile {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: bold;
  font-size: 0.7rem;
}

/* Simulated Live Map Layout inside Hero Mockup */
.hero-app-screen .app-map-view {
  position: absolute;
  top: 72px;
  bottom: 160px;
  left: 0;
  right: 0;
  background-color: #F5F4F0;
  border-radius: 0;
  border: none;
  overflow: hidden;
  box-shadow: none;
  transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.map-grid-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-app-screen .app-map-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  z-index: 8;
}

.pin-sonar {
  position: absolute;
  top: -11px;
  left: -11px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(240, 90, 40, 0.15);
  animation: pinPulse 2s infinite ease-out;
}

.pin-core {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 2.5px solid #FFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

@keyframes pinPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero-app-screen .app-map-vendor-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  z-index: 9;
  transition: left 0.6s cubic-bezier(0.25, 1, 0.5, 1), top 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.vendor-avatar-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  border: 2px solid #FFF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
}

.vendor-avatar-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.vendor-radar-ping {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-secondary);
  opacity: 0;
  animation: vendorPing 1.8s infinite ease-out;
}

@keyframes vendorPing {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Floating Status Cards over Phone mockup */
.app-float-card {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-widget {
  background-color: #FFFFFF !important;
  width: 170px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  padding: 6px 10px !important;
  border-radius: var(--radius-md) !important;
  top: 82px !important;
  right: 12px !important;
  animation: none !important;
  transform: none !important;
  z-index: 9 !important;
}

.hero-widget .icon-badge {
  background-color: rgba(240, 90, 40, 0.1);
  color: var(--color-primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-widget .icon-badge svg,
.app-float-card .icon-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.badge-pulse {
  position: relative;
}

.badge-pulse::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  animation: pinPulse 2s infinite ease-out;
  top: 0;
  left: 0;
}

.hero-widget .details h4 {
  font-size: 0.7rem;
  margin-bottom: 0px;
  font-weight: 700;
}

.hero-widget .details p {
  font-size: 0.55rem;
  color: var(--text-dark-muted);
}

/* Bottom Control console Sheet */
.app-control-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
  padding: 10px 14px 16px 14px;
  z-index: 10;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.sheet-indicator {
  width: 32px;
  height: 3.5px;
  background-color: #E5E7EB;
  border-radius: 2px;
  margin: 0 auto 8px auto;
}

.sheet-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  text-align: center;
}

.sheet-state {
  display: none;
}

.sheet-state.active {
  display: block;
  animation: slideUpFade 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes slideUpFade {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.service-option-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.service-opt-btn {
  flex: 1;
  background-color: #F3F4F6;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 8px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: var(--transition);
}

.service-opt-btn .btn-icon {
  font-size: 1.1rem;
}

.service-opt-btn span {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-dark-muted);
}

.service-opt-btn:hover {
  background-color: #E5E7EB;
}

.service-opt-btn.active {
  background-color: rgba(240, 90, 40, 0.05);
  border-color: var(--color-primary);
}

.service-opt-btn.active span {
  color: var(--color-primary);
}

.sheet-primary-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(240, 90, 40, 0.15);
  transition: var(--transition);
}

.sheet-primary-btn:hover {
  transform: translateY(-0.5px);
  box-shadow: 0 5px 12px rgba(240, 90, 40, 0.22);
}

.sheet-primary-btn.outline-btn {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  box-shadow: none;
  margin-top: 8px;
}

.sheet-primary-btn.outline-btn:hover {
  background-color: rgba(240, 90, 40, 0.04);
  box-shadow: none;
}

.matching-radar-container {
  position: relative;
  width: 54px;
  height: 54px;
  margin: 6px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  animation: radarRing 2s infinite linear;
}

.radar-circle.circle-2 {
  animation-delay: 1s;
}

.matching-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 1.5px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  color: var(--color-primary);
  z-index: 2;
  animation: avatarPulse 1s infinite alternate;
}

.matching-text {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-dark-muted);
  margin-bottom: 6px;
}

@keyframes radarRing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes avatarPulse {
  from { transform: scale(0.95); }
  to { transform: scale(1.05); }
}

.provider-profile-card {
  display: flex;
  align-items: center;
  background-color: #F9FAFB;
  border-radius: 10px;
  padding: 6px 8px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.profile-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: bold;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.provider-info {
  flex: 1;
}

.provider-info h5 {
  font-size: 0.7rem;
  margin-bottom: 1px;
}

.provider-info p {
  font-size: 0.55rem;
  color: var(--text-dark-muted);
  font-weight: 500;
}

.provider-actions {
  display: flex;
  gap: 4px;
}

.action-btn-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #FFFFFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.action-btn-circle:hover {
  transform: scale(1.05);
  background-color: #F3F4F6;
}

.progress-details-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-dark-muted);
}

.progress-info strong {
  color: var(--color-primary);
}

.mini-progress-bar {
  height: 5px;
  background-color: #E5E7EB;
  border-radius: 3px;
  overflow: hidden;
}

.mini-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s linear;
}

.success-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.success-checkmark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--color-green);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.2);
}

.success-header h5 {
  font-size: 0.75rem;
  color: var(--text-dark);
}

.receipt-mini-table {
  background-color: #F9FAFB;
  border-radius: 10px;
  padding: 6px 10px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  padding: 3px 0;
}

.receipt-row:not(:last-child) {
  border-bottom: 1px dashed #E5E7EB;
}

.receipt-row strong {
  color: var(--color-primary);
}

/* State height variations for map bottom constraint */
.hero-app-screen[data-state="idle"] .app-map-view { bottom: 154px; }
.hero-app-screen[data-state="matching"] .app-map-view { bottom: 102px; }
.hero-app-screen[data-state="tracking"] .app-map-view { bottom: 94px; }
.hero-app-screen[data-state="completed"] .app-map-view { bottom: 144px; }

.app-float-card .icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  flex-shrink: 0;
}

.card-top-right {
  top: 80px;
  right: -30px;
  animation: floatWidget1 5s ease-in-out infinite alternate;
}

.card-bottom-left {
  bottom: 120px;
  left: -35px;
  animation: floatWidget2 6s ease-in-out infinite alternate;
}

@keyframes floatWidget1 {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-10px) scale(1.02); }
}

@keyframes floatWidget2 {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(12px) scale(0.98); }
}

.app-float-card .icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  flex-shrink: 0;
}

.card-top-right .icon-badge {
  background-color: var(--color-primary);
}

.card-bottom-left .icon-badge {
  background-color: var(--color-green);
}

.app-float-card .details h4 {
  font-size: 0.8rem;
  margin-bottom: 0.1rem;
}

.app-float-card .details p {
  font-size: 0.7rem;
  color: var(--text-dark-muted);
}

/* Trust Brand Logo Ticker */
.ticker-section {
  background-color: #FFFFFF;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.ticker-title {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dark-muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
}

.ticker-content {
  display: flex;
  gap: 6rem;
  width: max-content;
  animation: ticker 25s linear infinite;
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-item {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(31, 27, 46, 0.45);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
  cursor: default;
}

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

.ticker-item svg {
  width: 26px;
  height: 26px;
  opacity: 0.45;
  transition: var(--transition);
}

.ticker-item:hover svg {
  opacity: 0.9;
  color: var(--color-primary);
  transform: scale(1.1);
}

/* Stat Grid Section */
.stats-bar {
  padding: 5rem 0;
  background-color: var(--bg-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 2.25rem 2rem 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 5px solid rgba(240, 90, 40, 0.15);
  background: #FFFFFF;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 90, 40, 0.3);
  box-shadow: 0 16px 40px rgba(240, 90, 40, 0.1);
}

/* Decorative bottom-left SVG icon */
.stat-deco-icon {
  position: absolute;
  bottom: -6px;
  left: -4px;
  width: 56px;
  height: 56px;
  color: rgba(240, 90, 40, 0.07);
  pointer-events: none;
  transition: all 0.4s ease;
}

.stat-card:hover .stat-deco-icon {
  color: rgba(240, 90, 40, 0.15);
  transform: scale(1.1) rotate(-5deg);
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark-muted);
  position: relative;
  z-index: 1;
}

/* Three Steps Process Section */
.steps-section {
  padding: 8rem 0;
  background-color: var(--bg-primary);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-dark-muted);
  max-width: 500px;
  margin: 0 auto;
}

.steps-3d-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
  position: relative;
}

.steps-orbit-column {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 460px;
}

.steps-orbit-wrapper {
  width: 400px;
  height: 400px;
  position: relative;
}

.steps-orbit-ring-3d {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  perspective: 1000px;
  transform: rotateX(55deg) rotateY(-5deg);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === HUD Concentric Rotating Rings === */
.hud-ring-outer,
.hud-ring-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hud-ring-outer svg,
.hud-ring-inner svg {
  width: 100%;
  height: 100%;
}

.hud-ring-outer {
  animation: hudRotateCW 25s linear infinite;
}

.hud-ring-inner {
  animation: hudRotateCCW 18s linear infinite;
}

@keyframes hudRotateCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hudRotateCCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* === Center Core of Orbit === */
.steps-orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin-top: -40px;
  margin-left: -40px;
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  border-radius: 50%;
  box-shadow:
    0 8px 32px rgba(240, 90, 40, 0.18),
    0 0 0 4px rgba(240, 90, 40, 0.06),
    inset 0 -2px 6px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transform: rotateX(-55deg) rotateY(5deg);
  transition: var(--transition);
}

.core-inner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.03);
}

.core-logo {
  width: 36px;
  height: auto;
}

/* Dual pulsing rings */
.core-pulse-1,
.core-pulse-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  pointer-events: none;
}

.core-pulse-1 {
  animation: corePulse 2.5s infinite ease-out;
}

.core-pulse-2 {
  animation: corePulse 2.5s infinite ease-out 1.25s;
}

@keyframes corePulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* === Step Orbit Nodes === */
.step-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) translate3d(var(--offset-x), var(--offset-y), 0px) rotateZ(calc(-1 * var(--orbit-rotate, 0deg))) rotateY(5deg) rotateX(-55deg);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 5;
}

.step-node-inner {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  transform-style: preserve-3d;
}

.step-node-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--text-dark-muted);
  line-height: 1;
  letter-spacing: 0.05em;
}

.step-node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-svg-icon {
  width: 20px;
  height: 20px;
  color: var(--text-dark-muted);
  transition: color 0.3s ease;
}

.step-node-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-dark-muted);
  margin-top: 0.6rem;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* === Active Node — Neon Glow === */
.step-node.active .step-node-inner {
  border-color: transparent;
  background: linear-gradient(135deg, #F05A28, #E04E1D);
  color: #FFFFFF;
  box-shadow:
    0 8px 28px rgba(240, 90, 40, 0.4),
    0 0 0 3px rgba(240, 90, 40, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: scale(1.18) translateZ(18px);
}

.step-node.active .step-node-num {
  color: rgba(255, 255, 255, 0.9);
}

.step-node.active .node-svg-icon {
  color: #FFFFFF;
}

.step-node.active .step-node-label {
  color: var(--color-primary);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(240, 90, 40, 0.15);
  box-shadow: 0 4px 16px rgba(240, 90, 40, 0.12);
  transform: scale(1.05) translateZ(10px);
}

/* === Hover Effects === */
.step-node:not(.active):hover .step-node-inner {
  transform: scale(1.1) translateZ(10px);
  border-color: rgba(240, 90, 40, 0.25);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.step-node:not(.active):hover .node-svg-icon {
  color: var(--color-primary);
}

/* Display Hub Details styling */
.steps-display-hub {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.03);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.step-detail-pane {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  flex-direction: column;
}

.step-detail-pane.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.detail-step-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.step-detail-pane h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.step-detail-pane p {
  color: var(--text-dark-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.detail-preview-box {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.booking-item-preview {
  background-color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.booking-item-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.booking-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background-color: rgba(240, 90, 40, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.75rem;
}

.booking-item-text {
  font-size: 0.75rem;
  font-weight: 600;
}

.booking-item-price {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--color-primary);
}

.partner-preview-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.partner-preview-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
}

.partner-preview-details h5 {
  font-size: 0.75rem;
  margin-bottom: 0.1rem;
}

.partner-preview-details p {
  font-size: 0.65rem;
  margin: 0;
}

.track-preview-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.track-status-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.track-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-green);
}

.track-progress-bar {
  height: 6px;
  background-color: #E5E7EB;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.track-progress-fill {
  width: 75%;
  height: 100%;
  background-color: var(--color-green);
  border-radius: 3px;
}

/* Service Catalog Section */
.catalog-section {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.catalog-header .left {
  max-width: 600px;
}

.catalog-header-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.catalog-tabs {
  display: flex;
  background-color: rgba(0, 0, 0, 0.04);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  gap: 0.25rem;
  list-style: none;
}

.catalog-tab {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark-muted);
  cursor: pointer;
  transition: var(--transition);
}

.catalog-tab:hover {
  color: var(--text-dark);
}

.catalog-tab.active {
  background-color: #FFFFFF;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

/* 3D Carousel Arrow Controls */
.catalog-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.arrow-btn.large-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(240, 90, 40, 0.15);
  transition: var(--transition);
}

.arrow-btn.large-arrow:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(240, 90, 40, 0.3);
}

.arrow-btn.large-arrow svg {
  width: 28px;
  height: 28px;
}

.arrow-btn.left-arrow {
  left: -24px;
}

.arrow-btn.right-arrow {
  right: -24px;
}

/* 3D Horizontal Scroll Container */
.services-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 3rem 2rem;
  margin: -3rem -2rem; /* pulls outer spacing */
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.services-grid::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 320px;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  transform-style: preserve-3d;
  transition: opacity 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  backface-visibility: hidden;
}

.service-card:hover {
  border-color: rgba(240, 90, 40, 0.15);
  box-shadow: -10px 20px 30px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(240, 90, 40, 0.05);
}

.service-card-img-wrap {
  width: calc(100% + 3.6rem);
  height: 170px;
  margin: -2.2rem -1.8rem 1.8rem -1.8rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  position: relative;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: 2px solid #FFFFFF;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.08);
}

.service-card.wash .service-icon-wrap {
  background-color: rgba(193, 39, 45, 0.08);
  color: var(--color-secondary);
}

.service-card.repair .service-icon-wrap {
  background-color: rgba(240, 90, 40, 0.08);
  color: var(--color-primary);
}

.service-card.emergency .service-icon-wrap {
  background-color: rgba(239, 68, 68, 0.08);
  color: var(--color-accent);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-dark-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
}

.service-price {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  font-weight: 500;
}

.service-price span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.service-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-link svg {
  width: 14px;
  height: 14px;
  transition: var(--transition);
}

.service-card:hover .service-link svg {
  transform: translateX(3px);
}

/* Simulator Section */
.simulator-section {
  padding: 8rem 0;
  background-color: var(--bg-primary);
}

.simulator-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

.sim-info h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.sim-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.sim-feat-item {
  display: flex;
  gap: 1.25rem;
}

.sim-feat-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #FFF;
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sim-feat-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.sim-feat-details p {
  color: var(--text-dark-muted);
  font-size: 0.95rem;
}

/* High Fidelity Live Mockup styling */
.simulator-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.sim-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(193, 39, 45, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.sim-smartphone {
  width: 340px;
  height: 680px;
  background-color: #000;
  border: 12px solid #1E1B4B;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Smartphone Top bar details */
.sim-smartphone::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background-color: #000;
  border-radius: 20px;
  z-index: 10;
}

.sim-app-screen {
  width: 100%;
  height: 100%;
  background-color: #F8FAF9;
  display: flex;
  flex-direction: column;
  padding: 40px 16px 16px 16px;
  font-size: 0.8rem;
  position: relative;
}

.sim-app-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.sim-app-nav-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
}

.sim-app-nav-icon {
  width: 32px;
  height: 32px;
  background-color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.sim-app-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Simulated States inside Screen */
.sim-state {
  display: none;
  flex-direction: column;
  height: 100%;
  animation: fadeIn 0.4s ease forwards;
}

.sim-state.active {
  display: flex;
}

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

/* State 0: Booking Form */
.form-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

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

.form-select, .form-input {
  background-color: #FFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-dark);
  font-weight: 500;
}

.sim-booking-btn {
  background-color: var(--color-primary);
  color: #FFF;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-align: center;
  margin-top: auto;
  box-shadow: 0 4px 10px rgba(240, 90, 40, 0.2);
  transition: var(--transition);
}

.sim-booking-btn:hover {
  background-color: var(--color-primary-dark);
}

/* State 1: Matching / Loader */
.matching-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
}

.sonar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sonar-center {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  border-radius: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
}

.sonar-wave {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(240, 90, 40, 0.15);
  z-index: 1;
  animation: sonar 2s infinite linear;
}

.sonar-wave-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(240, 90, 40, 0.1);
  z-index: 2;
  animation: sonar 2s infinite linear 0.7s;
}

@keyframes sonar {
  0% { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.matching-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.matching-desc {
  color: var(--text-dark-muted);
  font-size: 0.75rem;
}

/* State 2: Driver Assigned */
.map-bg {
  flex-grow: 1;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 40% 50%, #FFF 8%, transparent 8%),
              radial-gradient(circle at 65% 30%, #E5E7EB 12%, transparent 12%),
              #F2F2EC;
}

.map-route-line {
  position: absolute;
  top: 40%;
  left: 30%;
  width: 40%;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transform: rotate(25deg);
}

.map-route-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 12px;
  height: 12px;
  background-color: var(--color-primary);
  border-radius: 50%;
  border: 2px solid #FFF;
}

.partner-card {
  background-color: #FFF;
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid rgba(0,0,0,0.04);
}

.partner-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.partner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.partner-meta h4 {
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
}

.partner-meta p {
  font-size: 0.7rem;
  color: var(--text-dark-muted);
}

.partner-status-badge {
  margin-left: auto;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-green);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
}

.partner-eta {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
}

.partner-eta span {
  color: var(--color-primary);
}

/* State 3: Service In Progress */
.progress-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.progress-header h4 {
  font-size: 0.9rem;
}

.progress-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.photo-updates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.photo-card {
  background-color: #FFF;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
}

.photo-placeholder {
  height: 100px;
  background: linear-gradient(135deg, rgba(240, 90, 40, 0.05) 0%, rgba(193, 39, 45, 0.05) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-dark-muted);
  font-size: 0.65rem;
  font-weight: 600;
  gap: 0.25rem;
}

.photo-label {
  padding: 0.4rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.progress-indicator-card {
  background-color: #FFF;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm);
  margin-top: auto;
}

.prog-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.prog-item:last-child {
  margin-bottom: 0;
}

.prog-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prog-dot.completed {
  border-color: var(--color-green);
  background-color: var(--color-green);
  color: #FFF;
}

.prog-dot.completed::after {
  content: '✓';
  font-size: 0.6rem;
  font-weight: bold;
}

.prog-dot.active {
  border-color: var(--color-primary);
  background-color: #FFF;
  position: relative;
}

.prog-dot.active::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.prog-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dark-muted);
}

.prog-text.active {
  font-weight: 700;
  color: var(--text-dark);
}

/* State 4: Booking Completed */
.completed-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
}

.success-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-green);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.completed-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.completed-desc {
  color: var(--text-dark-muted);
  font-size: 0.75rem;
  margin-bottom: 2rem;
}

.receipt-card {
  background-color: #FFF;
  border-radius: var(--radius-md);
  padding: 1rem;
  width: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px dashed rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.receipt-row:last-child {
  margin-bottom: 0;
}

.receipt-row.total {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.sim-reset-btn {
  background-color: var(--bg-secondary);
  color: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
}

.sim-reset-btn:hover {
  background-color: #E6E2D8;
}

/* Controller box for demo */
.sim-controls {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.sim-control-btn {
  background-color: var(--color-primary);
  color: #FFF;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(240, 90, 40, 0.2);
  transition: var(--transition);
}

.sim-control-btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* Testimonial Section */
.testimonials-section {
  padding: 8rem 0;
  background-color: var(--bg-primary);
  position: relative;
}

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

.testimonial-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.stars-rating {
  color: #F59E0B;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.stars-rating svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 1.25rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #FFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar.purple { background-color: #8B5CF6; }
.author-avatar.orange { background-color: #F59E0B; }
.author-avatar.teal { background-color: #14B8A6; }

.author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-dark-muted);
  font-weight: 500;
}

/* Partner / Vendor Recruitment Section */
.partner-recruitment {
  padding: 8rem 0;
  background-color: var(--bg-dark-primary);
  position: relative;
  overflow: hidden;
}

.partner-recruitment::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(240, 90, 40, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.partner-recruitment-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 6rem;
  align-items: center;
}

.partner-recruitment .section-label {
  color: var(--color-primary-light);
}

.partner-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 3.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(240, 90, 40, 0.2);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
  font-size: 0.75rem;
}

.benefit-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.benefit-details p {
  color: var(--text-light-muted);
  font-size: 0.92rem;
}

/* CSS Earnings Dashboard graphic */
.partner-dashboard-wrap {
  display: flex;
  justify-content: center;
}

.earnings-dashboard {
  width: 320px;
  background-color: var(--bg-dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.dash-title {
  font-size: 0.8rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.dash-earnings-val {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: #FFF;
  margin-top: 0.25rem;
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  background-color: rgba(255,255,255,0.03);
  padding: 0.75rem;
  border-radius: var(--radius-md);
}

.dash-stat-box {
  text-align: center;
}

.dash-stat-num {
  font-size: 1rem;
  font-weight: 700;
  color: #FFF;
}

.dash-stat-lbl {
  font-size: 0.65rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
}

.chart-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  padding-top: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.chart-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-grow: 1;
}

.chart-bar {
  width: 16px;
  background-color: var(--color-primary);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  transition: height 1s ease;
  position: relative;
}

.chart-bar.glow {
  background-color: var(--color-primary-light);
  box-shadow: 0 0 12px var(--color-primary);
}

.chart-day {
  font-size: 0.65rem;
  color: var(--text-light-muted);
}

/* Floating App Banner Section */
.banner-section {
  padding: 4rem 0;
  background-color: var(--bg-primary);
}

.download-banner {
  background: linear-gradient(135deg, var(--bg-dark-secondary) 0%, var(--bg-dark-primary) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}

.download-banner::before {
  content: '';
  position: absolute;
  left: -10%;
  bottom: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(193, 39, 45, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.download-banner-text {
  max-width: 550px;
}

.download-banner h2 {
  font-size: 2.5rem;
  color: #FFF;
  margin-bottom: 1rem;
}

.download-banner p {
  color: var(--text-light-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.app-badges {
  display: flex;
  gap: 1rem;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #FFF;
  color: #000;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}

.app-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,255,255,0.15);
}

.app-badge svg {
  width: 24px;
  height: 24px;
}

/* CSS QR Code Graphical Card */
.qr-code-card {
  background-color: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.qr-graphic {
  width: 120px;
  height: 120px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 0.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.qr-block {
  background-color: var(--text-dark);
  border-radius: 2px;
}

.qr-block.empty {
  background-color: transparent;
}

.qr-corner {
  border: 4px solid var(--text-dark);
  background-color: transparent;
}

.qr-code-card p {
  font-size: 0.75rem;
  color: var(--text-dark);
  font-weight: bold;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.02);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.faq-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faq-icon-wrap svg {
  width: 12px;
  height: 12px;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 2rem;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-dark-muted);
}

/* Active FAQ Item styling */
.faq-item.active {
  border-color: rgba(240, 90, 40, 0.1);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-icon-wrap {
  background-color: var(--color-primary);
  color: #FFF;
}

.faq-item.active .faq-icon-wrap svg {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* Large enough value to allow full text expanding */
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* Footer Section */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 5rem 0 3rem 0;
}

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

.footer-brand p {
  color: var(--text-dark-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

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

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark-muted);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--color-primary);
  color: #FFF;
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-column a {
  color: var(--text-dark-muted);
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dark-muted);
}

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

/* ============================================
   Responsive Media Queries — Full Website
   ============================================ */
.mobile-only-actions {
  display: none;
}

/* === Tablet Large (1024px) === */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  .hero-grid { gap: 2rem; }
  .section-title { font-size: 2.5rem; }
  .section-subtitle { max-width: 90%; }

  .simulator-grid {
    gap: 3.5rem;
  }
  .partner-recruitment-grid {
    gap: 4rem;
  }
  .testimonials-grid {
    gap: 1.5rem;
  }
  .catalog-tabs {
    flex-wrap: wrap;
  }
}

/* === Tablet (991px) === */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 3rem;
  }
  .hero-desc, .hero-stats, .hero-actions {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-actions {
    justify-content: flex-start;
  }
  .hero-stats {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  /* Steps HUD Orbit — Stack */
  .steps-3d-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .steps-orbit-column {
    height: 400px;
  }
  .steps-orbit-wrapper {
    width: 380px;
    height: 380px;
  }
  .steps-display-hub {
    min-height: auto;
    padding: 2rem;
  }

  /* Stats grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Catalog */
  .catalog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  /* Simulator — Stack */
  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sim-info { text-align: left; }
  .sim-info h2 { font-size: 2.2rem; }
  .sim-visual {
    display: flex;
    justify-content: center;
  }

  /* Partner Recruitment — Stack */
  .partner-recruitment-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .partner-dashboard-wrap {
    justify-content: center;
  }

  /* Testimonials — 2 col */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Download Banner */
  .download-banner {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    padding: 3rem 2rem;
  }
  .download-content {
    text-align: center;
  }
  .app-badges {
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* === Mobile Nav (768px) === */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
  .nav-container {
    height: 70px;
  }
  #main-nav {
    display: none;
  }
  .nav-actions {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header.mobile-open #main-nav {
    display: block;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #FFF;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
  }
  header.mobile-open #main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .mobile-only-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 1.5rem;
  }
  .mobile-only-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Hero */
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .section-title { font-size: 2rem; }

  /* Steps orbit */
  .steps-orbit-wrapper {
    width: 340px;
    height: 340px;
  }
  .steps-orbit-column {
    height: 380px;
  }

  /* Simulator */
  .sim-info h2 { font-size: 1.9rem; }
  .smartphone-mockup, .sim-smartphone {
    width: 280px;
    height: 560px;
    border-width: 10px;
    border-radius: 32px;
  }

  /* Partner section */
  .partner-recruitment {
    padding: 5rem 0;
  }
  .partner-recruitment .section-title {
    font-size: 2rem;
  }
  .earnings-dashboard {
    width: 280px;
    padding: 1.25rem;
  }
  .dash-earnings-val {
    font-size: 1.5rem;
  }

  /* Testimonials — single col */
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .testimonial-card {
    padding: 2rem;
  }

  /* FAQ */
  .faq-section {
    padding: 5rem 0;
  }
  .faq-question {
    padding: 1.25rem 1.5rem;
  }
  .faq-question h3 {
    font-size: 1rem;
  }

  /* Sections padding */
  .steps-section,
  .stats-bar,
  .catalog-section,
  .simulator-section,
  .testimonials-section {
    padding: 5rem 0;
  }

  /* Carousel Arrows Mobile */
  .catalog-carousel-container {
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 1rem;
  }
  .services-grid {
    order: -1;
    width: 100%;
    margin-bottom: -1rem;
  }
  .arrow-btn.large-arrow {
    position: static;
    transform: none;
    width: 48px;
    height: 48px;
    margin: 0 1rem;
  }
  .arrow-btn.large-arrow svg {
    width: 20px;
    height: 20px;
  }
}

/* === Small Mobile (480px) === */
@media (max-width: 480px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 4rem;
  }
  .hero h1 {
    font-size: 1.7rem;
    line-height: 1.35;
  }
  .hero-desc {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .hero-stat-item h3 {
    font-size: 1.5rem;
  }
  .hero-stat-item p {
    font-size: 0.7rem;
  }
  .rotating-words-wrapper {
    padding-bottom: 8px;
  }
  .rotating-word {
    bottom: 8px;
  }
  .handwritten-underline {
    height: 8px;
  }

  /* Section title responsive */
  .section-title {
    font-size: 1.7rem;
  }

  /* Steps HUD orbit scale down */
  .steps-orbit-wrapper {
    width: 300px;
    height: 300px;
  }
  .steps-orbit-column {
    height: 350px;
  }
  .steps-orbit-ring-3d {
    transform: rotateX(50deg) rotateY(-5deg);
  }
  .step-node[data-step="1"] { --offset-x: 0px; --offset-y: -120px; }
  .step-node[data-step="2"] { --offset-x: 104px; --offset-y: 60px; }
  .step-node[data-step="3"] { --offset-x: -104px; --offset-y: 60px; }
  .step-node-inner {
    width: 58px;
    height: 58px;
  }
  .step-node-num {
    font-size: 0.6rem;
  }
  .node-svg-icon {
    width: 15px;
    height: 15px;
  }
  .step-node-label {
    font-size: 0.68rem;
    margin-top: 0.35rem;
    padding: 3px 8px;
  }
  .steps-orbit-core {
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
  }
  .core-inner {
    width: 42px;
    height: 42px;
  }
  .core-logo {
    width: 26px;
  }

  /* Steps detail hub */
  .steps-display-hub {
    padding: 1.5rem;
  }
  .step-detail-pane h3 {
    font-size: 1.3rem;
  }
  .step-detail-pane p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  /* 3D Service cards carousel */
  .service-card {
    flex: 0 0 280px;
    padding: 1.8rem 1.4rem;
  }
  .service-card-img-wrap {
    width: calc(100% + 2.8rem);
    margin: -1.8rem -1.4rem 1.4rem -1.4rem;
  }

  /* Catalog tabs scroll horizontally on mobile */
  .catalog-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0.35rem;
  }
  .catalog-tabs::-webkit-scrollbar {
    display: none;
  }
  .catalog-tab {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Stats grid — 2x2 */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stat-card {
    padding: 1.25rem;
  }
  .stat-card h3 {
    font-size: 1.5rem;
  }

  /* Simulator */
  .sim-info h2 { font-size: 1.6rem; }
  .sim-features {
    gap: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .sim-feat-item h4 {
    font-size: 0.95rem;
  }
  .sim-feat-item p {
    font-size: 0.85rem;
  }
  .smartphone-mockup, .sim-smartphone {
    width: 260px;
    height: 520px;
    border-width: 8px;
    border-radius: 28px;
  }

  /* Partner section */
  .partner-recruitment .section-title {
    font-size: 1.7rem;
  }
  .earnings-dashboard {
    width: 100%;
    max-width: 300px;
  }
  .dash-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  /* Download banner */
  .download-banner {
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-md);
  }
  .download-content h2 {
    font-size: 1.6rem;
  }
  .app-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  /* FAQ */
  .faq-question {
    padding: 1rem 1.25rem;
  }
  .faq-question h3 {
    font-size: 0.92rem;
  }
  .faq-answer p {
    font-size: 0.88rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  /* Sections padding */
  .steps-section,
  .stats-bar,
  .catalog-section,
  .simulator-section,
  .testimonials-section,
  .faq-section,
  .partner-recruitment {
    padding: 4rem 0;
  }
}

/* === Ultra-small (360px) === */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.45rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .smartphone-mockup, .sim-smartphone {
    transform: scale(0.85);
    transform-origin: center top;
    margin-bottom: -80px;
  }
  .steps-orbit-wrapper {
    width: 260px;
    height: 260px;
  }
  .steps-orbit-column {
    height: 310px;
  }
  .step-node[data-step="1"] { --offset-x: 0px; --offset-y: -100px; }
  .step-node[data-step="2"] { --offset-x: 87px; --offset-y: 50px; }
  .step-node[data-step="3"] { --offset-x: -87px; --offset-y: 50px; }
  .step-node-inner {
    width: 50px;
    height: 50px;
  }
  .node-svg-icon {
    width: 13px;
    height: 13px;
  }
  .step-node-label {
    font-size: 0.6rem;
    padding: 2px 6px;
  }
  .steps-orbit-core {
    width: 50px;
    height: 50px;
    margin-top: -25px;
    margin-left: -25px;
  }
  .core-inner {
    width: 36px;
    height: 36px;
  }
  .core-logo {
    width: 22px;
  }
  .earnings-dashboard {
    max-width: 260px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

