/* ==========================================================================
   FLEETMORES — SASSY HOME-3 DESIGN SYSTEM & CORE STYLES
   Flagship Product: TRUCKBILL (Transport Operations & Billing ERP)
   Aesthetic: Electric Cobalt Blue (#0025E9), Clean Ice-Blue (#F3F6FE),
              Deep Pitch Black (#000000), DM Sans & Golos Text.
   Inspiration: wdtsassy.wpengine.com/home-3/
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400;1,9..40,600&family=Golos+Text:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Sassy Palette Tokens */
  --fm-primary: #0025E9;
  --fm-primary-rgb: 0, 37, 233;
  --fm-primary-hover: #001ec0;
  --fm-primary-glow: rgba(0, 37, 233, 0.28);
  --fm-primary-subtle: rgba(0, 37, 233, 0.08);

  --fm-secondary: #000000;
  --fm-secondary-rgb: 0, 0, 0;
  --fm-secondary-hover: #1f1f1f;

  --fm-tertiary: #F3F6FE;
  --fm-tertiary-rgb: 243, 246, 254;
  --fm-tertiary-border: #DDE5FA;

  --fm-quaternary: #ABBBF2;
  --fm-quaternary-rgb: 171, 187, 242;

  --fm-body-bg: #FFFFFF;
  --fm-card-bg: #FFFFFF;
  --fm-card-ice: #F3F6FE;

  --fm-heading-color: #000000;
  --fm-body-text: #5A5A5A;
  --fm-body-text-dark: #2A2A2A;
  --fm-muted-text: #767676;

  --fm-border-color: #E2E8F0;
  --fm-border-alt: #D9D9D9;
  --fm-border-subtle: rgba(0, 0, 0, 0.06);

  /* Deep Black Contrast Section */
  --fm-dark-section: #07090E;
  --fm-dark-surface: #0E121D;
  --fm-dark-card: #141A29;
  --fm-dark-border: rgba(255, 255, 255, 0.12);
  --fm-dark-text: #FFFFFF;
  --fm-dark-text-muted: #9BA3BF;

  /* Typography */
  --font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale */
  --section-pad-y: clamp(5rem, 8vw, 8.5rem);
  --container-max-w: 1320px;

  /* Transitions */
  --ease-sassy: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quick: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Base Reset & Smoothness */
*, *::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;
}

body {
  font-family: var(--font-body);
  background-color: var(--fm-body-bg);
  color: var(--fm-body-text);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

/* Typography Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--fm-heading-color);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
}

h5 {
  font-size: 1.15rem;
  font-weight: 600;
}

h6 {
  font-size: 0.95rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--fm-primary);
  text-decoration: none;
  transition: all 0.2s var(--ease-quick);
}

a:hover {
  color: var(--fm-primary-hover);
}

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

/* Layout Container */
.container-fm {
  width: 100%;
  max-width: var(--container-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

/* Section Wrapper */
.fm-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  position: relative;
}

.fm-section-ice {
  background-color: var(--fm-tertiary);
}

.fm-section-white {
  background-color: var(--fm-body-bg);
}

.fm-section-dark {
  background-color: var(--fm-dark-section);
  color: var(--fm-dark-text);
}

.fm-section-dark h1,
.fm-section-dark h2,
.fm-section-dark h3,
.fm-section-dark h4,
.fm-section-dark h5,
.fm-section-dark h6 {
  color: var(--fm-dark-text);
}

.fm-section-dark p {
  color: var(--fm-dark-text-muted);
}

/* Sassy Pill Badges / Eyebrows */
.sassy-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 9999px;
  background: var(--fm-tertiary);
  border: 1px solid var(--fm-tertiary-border);
  color: var(--fm-primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  transition: all 0.25s var(--ease-sassy);
}

.sassy-badge-pill:hover {
  background: #E8EEFD;
  border-color: var(--fm-primary);
}

.sassy-badge-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fm-primary);
  box-shadow: 0 0 10px rgba(0, 37, 233, 0.7);
  animation: pulseDot 2s infinite ease-in-out;
}

.sassy-badge-pill-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.sassy-badge-pill-dark .pill-dot {
  background: #4D6DFF;
  box-shadow: 0 0 10px rgba(77, 109, 255, 0.8);
}

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

/* Sassy Heading Titles */
.section-header {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.section-header.text-start {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-title {
  margin-bottom: 1.15rem;
}

.section-title .text-cobalt {
  color: var(--fm-primary);
}

.section-desc {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--fm-body-text);
  line-height: 1.65;
}

/* Sassy Buttons (Pill-shaped signature) */
.btn-sassy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 30px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.28s var(--ease-sassy);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-sassy-primary {
  background-color: var(--fm-primary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(0, 37, 233, 0.28);
}

.btn-sassy-primary:hover {
  background-color: var(--fm-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 37, 233, 0.38);
}

.btn-sassy-dark {
  background-color: var(--fm-secondary);
  color: #FFFFFF !important;
}

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

.btn-sassy-white {
  background-color: #FFFFFF;
  color: var(--fm-secondary) !important;
  border-color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-sassy-white:hover {
  background-color: var(--fm-tertiary);
  color: var(--fm-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 37, 233, 0.2);
}

.btn-sassy-outline {
  background-color: transparent;
  color: var(--fm-secondary) !important;
  border-color: var(--fm-border-alt);
}

.btn-sassy-outline:hover {
  border-color: var(--fm-primary);
  color: var(--fm-primary) !important;
  background-color: var(--fm-tertiary);
  transform: translateY(-2px);
}

.btn-sassy-outline-white {
  background-color: transparent;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-sassy-outline-white:hover {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-sassy-sm {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.btn-sassy-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sassy .btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease-sassy);
}

.btn-sassy:hover .btn-arrow {
  transform: translateX(4px);
}

/* Sassy Service / Feature Cards (01 to 08) */
.sassy-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .sassy-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sassy-card-grid {
    grid-template-columns: 1fr;
  }
}

.sassy-card {
  background: var(--fm-tertiary);
  border: 1px solid var(--fm-tertiary-border);
  border-radius: 22px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--ease-sassy);
  position: relative;
  overflow: hidden;
}

.sassy-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--fm-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sassy-card:hover {
  background: #FFFFFF;
  border-color: #C7D5FB;
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(0, 37, 233, 0.08);
}

.sassy-card:hover::after {
  opacity: 1;
}

.sassy-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.sassy-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 37, 233, 0.06);
  border: 1px solid rgba(0, 37, 233, 0.08);
  color: var(--fm-primary);
}

.sassy-card:hover .sassy-card-icon {
  background: var(--fm-primary);
  color: #FFFFFF;
  border-color: var(--fm-primary);
  box-shadow: 0 8px 20px rgba(0, 37, 233, 0.28);
}

.sassy-card-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fm-quaternary);
  letter-spacing: 0.02em;
}

.sassy-card:hover .sassy-card-num {
  color: var(--fm-primary);
}

.sassy-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fm-heading-color);
  margin-bottom: 12px;
  line-height: 1.25;
}

.sassy-card-text {
  font-size: 0.95rem;
  color: var(--fm-body-text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.sassy-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fm-secondary);
  margin-top: auto;
}

.sassy-card-link span.arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.sassy-card:hover .sassy-card-link {
  color: var(--fm-primary);
}

.sassy-card:hover .sassy-card-link span.arrow {
  transform: translateX(4px);
}

/* Hero Section (Sassy Home-3 Style) */
.sassy-hero {
  position: relative;
  background: #FFFFFF;
  padding-top: clamp(6.5rem, 10vw, 9.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
  overflow: hidden;
}

.sassy-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(0, 37, 233, 0.07) 0%, rgba(243, 246, 254, 0.8) 60%, transparent 80%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.sassy-hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  background: radial-gradient(circle, rgba(171, 187, 242, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

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

.sassy-hero-title {
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.sassy-hero-title .text-cobalt {
  color: var(--fm-primary);
  position: relative;
  display: inline-block;
}

.sassy-hero-desc {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: var(--fm-body-text);
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.sassy-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 2rem;
}

.sassy-hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--fm-muted-text);
  font-weight: 500;
}

.sassy-hero-stars {
  color: #FFB800;
  letter-spacing: 2px;
}

/* Hero SaaS Mockup & Floating Cards */
.sassy-hero-mockup-wrap {
  position: relative;
  margin-top: 3.5rem;
  z-index: 1;
}

.sassy-dashboard-window {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid var(--fm-border-color);
  box-shadow: 0 30px 80px rgba(0, 37, 233, 0.12), 0 10px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.4s var(--ease-sassy);
}

.sassy-dashboard-window:hover {
  transform: translateY(-4px);
}

.window-header {
  background: #F8FAFD;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--fm-border-color);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E2E8F0;
}

.window-dot.red { background: #FF5F56; }
.window-dot.yellow { background: #FFBD2E; }
.window-dot.green { background: #27C93F; }

.window-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fm-muted-text);
  letter-spacing: 0.02em;
}

.window-body {
  padding: 24px;
  background: #FFFFFF;
}

/* Floating Metric Pills on Hero */
.floating-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-radius: 16px;
  border: 1px solid var(--fm-tertiary-border);
  box-shadow: 0 16px 36px rgba(0, 37, 233, 0.14);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  animation: floatSlight 4s ease-in-out infinite alternate;
}

.floating-pill-left {
  top: 15%;
  left: -20px;
}

.floating-pill-right {
  bottom: 10%;
  right: -20px;
  animation-delay: 2s;
}

@keyframes floatSlight {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.floating-pill-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--fm-tertiary);
  color: var(--fm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-pill-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fm-heading-color);
  margin-bottom: 2px;
}

.floating-pill-sub {
  font-size: 0.8rem;
  color: var(--fm-muted-text);
  font-weight: 500;
}

/* Client / Trust Logo Ticker */
.sassy-trust-strip {
  padding: 2.5rem 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--fm-border-color);
  text-align: center;
}

.trust-strip-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fm-muted-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.trust-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  opacity: 0.75;
}

.trust-logo-item {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.trust-logo-item:hover {
  color: var(--fm-primary);
  transform: translateY(-2px);
  opacity: 1;
}

/* Full-bleed Cobalt Banner CTA */
.sassy-cobalt-banner {
  background: var(--fm-primary);
  color: #FFFFFF;
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
  border-radius: 28px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 37, 233, 0.25);
}

.sassy-cobalt-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.sassy-cobalt-banner h2 {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.sassy-cobalt-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 650px;
  margin-bottom: 2.25rem;
}

/* Sassy Accordion (FAQ Quick Clear) */
.sassy-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.sassy-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--fm-border-color);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s var(--ease-sassy);
}

.sassy-faq-item.active {
  border-color: var(--fm-primary);
  box-shadow: 0 10px 30px rgba(0, 37, 233, 0.06);
}

.sassy-faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--fm-heading-color);
  transition: color 0.2s ease;
}

.sassy-faq-question:hover {
  color: var(--fm-primary);
}

.sassy-faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--fm-tertiary);
  color: var(--fm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.sassy-faq-item.active .sassy-faq-icon {
  background: var(--fm-primary);
  color: #FFFFFF;
  transform: rotate(45deg);
}

.sassy-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-sassy);
  padding: 0 28px;
}

.sassy-faq-item.active .sassy-faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}

.sassy-faq-answer p {
  color: var(--fm-body-text);
  line-height: 1.65;
  font-size: 0.98rem;
}

/* Sassy Metrics Strip */
.sassy-metrics-strip {
  background: #FFFFFF;
  padding: 4rem 0;
  border-top: 1px solid var(--fm-border-color);
  border-bottom: 1px solid var(--fm-border-color);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

@media (max-width: 900px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--fm-primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.metric-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fm-heading-color);
  margin-bottom: 4px;
}

.metric-sub {
  font-size: 0.85rem;
  color: var(--fm-muted-text);
}

/* Utilities */
.text-cobalt { color: var(--fm-primary) !important; }
.text-black { color: var(--fm-secondary) !important; }
.text-slate { color: var(--fm-body-text) !important; }
.bg-ice { background-color: var(--fm-tertiary) !important; }
.bg-white { background-color: #FFFFFF !important; }
.bg-dark { background-color: var(--fm-dark-section) !important; }
