/* ==========================================================================
   DRIVERLANDING DESIGN SYSTEM & CORE STYLESHEET
   Modern Tech Aesthetic - High Performance Recruiting Pipeline
   ========================================================================== */

:root {
  /* --- Brand Colors (Dark First) --- */
  --color-background: #0b1323;
  --color-surface-dim: #0b1323;
  --color-surface: #0b1323;
  --color-surface-bright: #31394b;

  /* --- Tonal Surface Layers --- */
  --color-surface-lowest: #060e1e;
  /* Level 0 (Base deeps) */
  --color-surface-low: #141b2c;
  /* Level 1 (Slightly elevated) */
  --color-surface-container: #181f30;
  /* Level 1 (Card containers) */
  --color-surface-high: #222a3b;
  /* Level 2 (Subtle highlights) */
  --color-surface-highest: #2d3546;
  /* Level 2 (Modals & Popovers) */
  --color-surface-variant: #2d3546;

  /* --- Text & Content --- */
  --color-on-surface: #dbe2f9;
  /* Pure white-ish primary text */
  --color-on-surface-variant: #d4c4af;
  /* Warm gray secondary text */
  --color-inverse-surface: #dbe2f9;
  --color-inverse-on-surface: #293042;

  /* --- Accent Colors --- */
  --color-primary: #f1b43d;
  /* Primary Warm Amber */
  --color-primary-fixed: #ffdeaa;
  --color-primary-fixed-dim: #fabc44;
  --color-on-primary: #422c00;
  --color-on-primary-container: #271900;

  --color-secondary: #4cbfe3;
  /* Secondary Light Blue */
  --color-secondary-fixed: #b7eaff;
  --color-secondary-fixed-dim: #65d4f9;
  --color-on-secondary: #003543;
  --color-on-secondary-container: #002e3b;

  --color-tertiary: #dadada;
  --color-tertiary-container: #bebebe;
  --color-on-tertiary: #2f3131;
  --color-on-tertiary-container: #4c4d4d;

  --color-error: #ffb4ab;
  --color-error-container: #93000a;
  --color-on-error: #690005;
  --color-on-error-container: #ffdad6;

  /* --- Borders & Outlines --- */
  --color-outline: #303030;
  /* Blueprint Border Stroke */
  --color-outline-variant: #504535;

  /* --- Spacing System --- */
  --space-unit: 4px;
  --space-sm: 8px;
  /* stack-sm */
  --space-md: 16px;
  /* stack-md */
  --space-lg: 32px;
  /* stack-lg */
  --space-gutter: 24px;
  --space-margin-mobile: 16px;
  --space-margin-desktop: 64px;

  /* --- Border Radius --- */
  --rounded-sm: 0.125rem;
  /* 2px */
  --rounded-default: 0.25rem;
  /* 4px - standard soft */
  --rounded-md: 0.375rem;
  /* 6px */
  --rounded-lg: 0.5rem;
  /* 8px */
  --rounded-xl: 0.75rem;
  /* 12px */
  --rounded-full: 9999px;

  /* --- Animations & Glows --- */
  --glow-primary: 0 0 15px rgba(241, 180, 61, 0.35);
  --glow-secondary: 0 0 15px rgba(76, 191, 227, 0.35);
  --transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-premium: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   BASE & RESET STYLES
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-background);
  overflow-anchor: none;
}

body {
  background-color: transparent;
  color: var(--color-on-surface);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

img,
svg {
  vertical-align: middle;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */

.font-headline-xl {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.02em;
}

.font-headline-lg {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.01em;
}

.font-headline-md {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.font-body-lg {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.font-body-md {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.font-label-caps {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.font-label-md {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

@media (max-width: 768px) {
  .font-headline-xl {
    font-size: 38px;
    line-height: 40px;
    letter-spacing: -0.035em;
  }

  .font-headline-lg {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.025em;
  }
}

/* ==========================================================================
   LAYOUT STRUCTURES (VANILLA FLEX & GRID)
   ========================================================================== */

.container-max {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--space-margin-mobile);
  padding-right: var(--space-margin-mobile);
  width: 100%;
}

@media (min-width: 768px) {
  .container-max {
    padding-left: var(--space-margin-desktop);
    padding-right: var(--space-margin-desktop);
  }
}

.grid-1-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-gutter);
}

@media (min-width: 1024px) {
  .grid-1-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-3-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-gutter);
}

@media (min-width: 768px) {
  .grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

.span-2-cols {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .span-2-cols {
    grid-column: span 2;
  }
}

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

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

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}

.hidden-mobile {
  display: none !important;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: inline-flex !important;
  }
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-gutter {
  gap: var(--space-gutter);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.pt-nav {
  padding-top: 120px;
}

.py-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(11, 19, 35, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-outline);
  box-shadow: 0 0 15px rgba(241, 180, 61, 0.15);
  z-index: 100;
  display: flex;
  align-items: center;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 700;
  font-size: 24px;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  color: var(--color-on-surface-variant);
  transition: var(--transition-default);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

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

.nav-link.active {
  border-color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--rounded-default);
  font-weight: 700;
  transition: var(--transition-default);
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-on-primary-container);
}

.btn-secondary {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-surface-dim);
}



/* Hover effects (Reduced motion protected) */
@media (prefers-reduced-motion: no-preference) {
  .interactive-btn {
    transition: var(--transition-default);
  }

  .interactive-btn:hover {
    transform: scale(1.04) translateY(-2px);
    box-shadow: var(--glow-primary);
  }

  .btn-primary:hover {
    box-shadow: 0 0 25px rgba(241, 180, 61, 0.7);
  }
}

/* ==========================================================================
   PREMIUM CARDS
   ========================================================================== */

.card-custom {
  background-color: var(--color-surface-container);
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-default);
}

.card-custom:hover {
  border-color: rgba(241, 180, 61, 0.4);
  box-shadow: 0 0 20px rgba(241, 180, 61, 0.15) inset, 0 0 20px rgba(241, 180, 61, 0.15);
}

.card-corner::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--color-primary);
  border-left: 2px solid var(--color-primary);
  pointer-events: none;
  z-index: 5;
}

.card-blueprint-style {
  border-color: rgba(76, 191, 227, 0.25);
  background-image:
    linear-gradient(to right, rgba(76, 191, 227, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(76, 191, 227, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.card-blueprint-style:hover {
  box-shadow: 0 0 40px rgba(76, 191, 227, 0.2);
  border-color: rgba(76, 191, 227, 0.5);
}

.card-blueprint-style.card-corner::before {
  border-color: var(--color-secondary);
}

.panel-sub {
  background-color: var(--color-surface-dim);
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-default);
  padding: 16px;
  transition: var(--transition-default);
}

.panel-sub:hover {
  border-color: rgba(241, 180, 61, 0.2);
}

.card-blueprint-style .panel-sub:hover {
  border-color: rgba(76, 191, 227, 0.2);
}


/* ==========================================================================
   SMARTPHONE TEMPLATE
   ========================================================================== */

.phone-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background-color: var(--color-surface-dim);
  border-radius: 48px;
  border: 6px solid var(--color-outline);
  width: 100%;
  max-width: 320px;
  height: 500px;
  transition: var(--transition-default);
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.phone-mockup:hover {
  border-color: rgba(241, 180, 61, 0.3);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 24px;
  background-color: var(--color-outline);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 20;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--color-surface-container);
  border-radius: 40px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.4;
  margin-bottom: 32px;
}

.phone-icons {
  display: flex;
  gap: 6px;
}

.phone-body {
  text-align: center;
  position: relative;
  z-index: 10;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.phone-progress-track {
  width: 100%;
  height: 10px;
  background-color: var(--color-surface-variant);
  border-radius: var(--rounded-full);
  overflow: hidden;
  margin: 16px auto;
}

.phone-progress-fill {
  height: 100%;
  background-color: var(--color-primary);
  width: 35%;
  box-shadow: 0 0 15px var(--color-primary);
}

.phone-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--color-outline);
  display: flex;
  justify-content: space-around;
  width: 100%;
}

/* ==========================================================================
   WIDGET 2: RECRUITER ROI CALCULATOR
   ========================================================================== */

.calculator-card {
  width: 100%;
  background-color: var(--color-surface-container);
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  padding: 24px;
  margin-top: 16px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .calculator-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-on-surface-variant);
}

.slider-header span.val {
  color: var(--color-primary);
  font-size: 14px;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--rounded-full);
  background: var(--color-surface-dim);
  border: 1px solid var(--color-outline);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: var(--rounded-full);
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(241, 180, 61, 0.5);
  transition: var(--transition-default);
}

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

.calculator-results {
  background-color: var(--color-surface-dim);
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-default);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.calc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--color-outline);
  padding-bottom: 8px;
}

.calc-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-metric-lbl {
  font-size: 13px;
  color: var(--color-on-surface-variant);
}

.calc-metric-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-on-surface);
}

.calc-metric-val.benefit {
  color: var(--color-primary);
  text-shadow: 0 0 10px rgba(241, 180, 61, 0.2);
}

.calc-bar-comparison {
  margin-top: 8px;
}

.comparison-bar-container {
  height: 8px;
  background-color: var(--color-surface-container);
  border-radius: var(--rounded-full);
  overflow: hidden;
  position: relative;
  margin-top: 4px;
}

.comparison-bar-fill {
  height: 100%;
  border-radius: var(--rounded-full);
  transition: width 0.4s ease;
}

.comparison-bar-fill.standard {
  background-color: var(--color-on-surface-variant);
  opacity: 0.4;
}

.comparison-bar-fill.optimized {
  background-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}

/* ==========================================================================
   ANIMATIONS & MOTION
   ========================================================================== */

/* Starfield Dynamic Background styling */
.starfield-bg {
  position: relative;
}

#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background-color: var(--color-background);
  contain: strict;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal-visible .stagger-item {
    opacity: 1;
    transform: translateY(0);
  }

  .stagger-item:nth-child(1) {
    transition-delay: 0.1s;
  }

  .stagger-item:nth-child(2) {
    transition-delay: 0.2s;
  }

  .stagger-item:nth-child(3) {
    transition-delay: 0.3s;
  }

  .stagger-item:nth-child(4) {
    transition-delay: 0.4s;
  }



  @keyframes rotateRadar {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }

  .orbital-wrapper {
    position: relative;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
  }

  .orbit-circle {
    position: absolute;
    inset: 0;
    border-radius: var(--rounded-full);
  }

  .orbit-outer {
    border: 1.5px solid rgba(241, 180, 61, 0.2);
  }

  .orbit-inner {
    border: 1px dashed rgba(76, 191, 227, 0.15);
  }

  .orbit-node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: var(--rounded-full);
    left: calc(50% - 5px);
  }

  .node-yellow {
    top: -5px;
    background-color: var(--color-primary);
    box-shadow: 0 0 10px #f1b43d;
  }

  .node-blue {
    bottom: -5px;
    background-color: var(--color-secondary);
    box-shadow: 0 0 10px #4cbfe3;
  }

  .orbit-center-icon {
    position: relative;
    z-index: 10;
    width: 48px;
    height: 48px;
    background-color: var(--color-surface-dim);
    border: 1.5px solid rgba(241, 180, 61, 0.4);
    border-radius: var(--rounded-default);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(241, 180, 61, 0.1);
    transition: var(--transition-default);
  }

  .card-custom:hover .orbit-center-icon {
    border-color: rgba(241, 180, 61, 0.8);
    box-shadow: 0 0 25px rgba(241, 180, 61, 0.25);
  }

  .orbit-center-icon span {
    color: var(--color-primary);
    font-size: 24px;
  }

  .orbital-container {
    animation: orbitalRotate 20s linear infinite;
  }

  @keyframes orbitalRotate {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }

  .orbital-counter {
    animation: orbitalRotate 15s linear infinite reverse;
  }

  .data-tick {
    animation: dataTick 3s infinite;
  }

  @keyframes dataTick {

    0%,
    100% {
      opacity: 1;
    }

    50% {
      opacity: 0.75;
      transform: translateY(-1px);
    }
  }

  .starfield-bg::before {
    content: "";
    position: fixed;
    top: -10%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(241, 180, 61, 0.12), transparent);
    pointer-events: none;
    z-index: 1;
  }

  .text-shimmer {
    background: linear-gradient(90deg, #F1B43D 0%, #F1B43D 35%, #ffffff 45%, #F1B43D 55%, #4CBFE3 80%, #F1B43D 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s linear infinite;
  }

  @keyframes shimmer {
    0% {
      background-position: -200% center;
    }

    100% {
      background-position: 200% center;
    }
  }
}

.text-gradient {
  background: linear-gradient(90deg, var(--color-primary) 75%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pulse-text-glow {
  animation: textPulse 3s infinite alternate;
}

@keyframes textPulse {
  0% {
    filter: drop-shadow(0 0 4px rgba(241, 180, 61, 0.25));
  }

  100% {
    filter: drop-shadow(0 0 12px rgba(241, 180, 61, 0.6));
  }
}

.pulse-glow {
  animation: glowPulse 2.5s infinite alternate;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 8px rgba(241, 180, 61, 0.1);
  }

  100% {
    box-shadow: 0 0 20px rgba(241, 180, 61, 0.35);
  }
}

.breathing-pulse {
  animation: breathe 2.5s infinite alternate;
}

@keyframes breathe {
  0% {
    opacity: 0.65;
    transform: scale(0.97);
  }

  100% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.dashed-path {
  stroke-dasharray: 20, 20;
  animation: dashFlow 12s linear infinite;
}

@keyframes dashFlow {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -1000;
  }
}

.logo-blueprint {
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, var(--color-secondary), var(--color-secondary) 40%, #ffffff, var(--color-secondary) 70%, var(--color-secondary));
  background-size: 200%;
  background-clip: text;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  from {
    background-position: 200% center;
  }

  to {
    background-position: -200% center;
  }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer-custom {
  background-color: var(--color-surface-lowest);
  border-top: 1px solid var(--color-outline);
  padding: 48px 0;
  margin-top: 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-gutter);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 12px;
}

.footer-copyright {
  color: var(--color-on-surface-variant);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-end;
  }
}

.footer-link {
  font-size: 12px;
  color: var(--color-on-surface-variant);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-default);
  padding: 4px 8px;
  border-radius: var(--rounded-sm);
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-link:focus {
  outline: 2px solid var(--color-primary);
}

/* ==========================================================================
   HIRING MODE SELECTOR TOGGLE (DriverLanding vs MechanicLanding)
   ========================================================================== */

.toggle-container {
  display: flex;
  background-color: var(--color-surface-lowest);
  border: 1px solid var(--color-outline);
  padding: 4px;
  border-radius: var(--rounded-full);
  width: fit-content;
}

.toggle-btn {
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-on-surface-variant);
  border-radius: var(--rounded-full);
  transition: var(--transition-default);
}

.toggle-btn:hover {
  color: var(--color-on-surface);
}

.toggle-btn.active {
  background-color: var(--color-primary);
  color: var(--color-on-primary-container);
  box-shadow: 0 0 10px rgba(241, 180, 61, 0.4);
}

/* Toggle Display Mechanics */
.mechanic-content {
  display: none !important;
}

.mode-mechanic .driver-content {
  display: none !important;
}

.mode-mechanic .mechanic-content {
  display: block !important;
}

span.mechanic-content {
  display: none !important;
}

.mode-mechanic span.driver-content {
  display: none !important;
}

.mode-mechanic span.mechanic-content {
  display: inline !important;
}

/* Specific Phone Progress Bar Transition overrides */
#phone-conversion-fill {
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   LAYOUT UTILITIES, DECORATIONS, & RESPONSIVE SPACING
   ========================================================================== */

#hero {
  margin-bottom: 80px;
}

#products {
  margin-top: 120px;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  justify-content: center;
}

.hero-stats {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-lg);
  border-top: 1px solid var(--color-outline);
  padding-top: 10px;
}

.card-main-product {
  padding: 40px;
}

.radar-shimmer {
  height: 400px;
}

.soon-hero {
  margin-top: 40px;
  margin-bottom: 80px;
  align-items: center;
  min-height: calc(100vh - 220px);
}

#game-panel {
  height: 500px;
}

@media (max-width: 768px) {

  /* Spacing: tighten nav offset, sections, and footers */
  .pt-nav {
    padding-top: 100px;
  }

  .py-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  #hero {
    margin-bottom: 10px;
  }

  #products {
    margin-top: 60px;
  }

  .soon-hero {
    margin-top: 24px;
    margin-bottom: 32px;
    min-height: auto;
  }

  .footer-custom {
    margin-top: 60px;
    padding: 32px 0;
  }

  /* Cards: reduce default paddings */
  .card-custom {
    padding: 20px;
  }

  .card-main-product {
    padding: 24px;
  }

  /* Gaps: tighten stats and text groupings */
  .hero-text-content {
    gap: var(--space-md);
  }

  .hero-stats {
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 24px;
    gap: var(--space-md);
  }

  /* Navbar: Brand resizing to prevent narrow screen wrapping */
  .nav-brand {
    font-size: 20px;
  }

  .nav-brand img {
    width: 28px !important;
    height: 28px !important;
  }

  /* Decorative elements: shrink radar visual height */
  .radar-shimmer {
    height: 200px;
  }

  #game-panel {
    height: 400px;
  }
}