@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Plus+Jakarta+Sans:wght@600;700&display=swap');

:root {
  /* Fonts */
  --bs-font-sans-serif: 'Inter', system-ui, -apple-system, sans-serif;
  --bs-font-heading: 'Plus Jakarta Sans', sans-serif;

  /* Primary Brand Colors */
  --bs-primary: #D97757;             /* Terracotta */
  --bs-primary-rgb: 217, 119, 87;
  --bs-dark: #141413;                /* Slate Ink */
  --bs-dark-rgb: 20, 20, 19;

  /* Canvas & Body Colors */
  --bs-body-bg: #FAF9F5;             /* Ivory / Warm Off-White */
  --bs-body-color: #141413;          /* Slate Ink */
  --bs-body-color-rgb: 20, 20, 19;

  /* Secondary & Muted Colors */
  --bs-secondary-color: #B0AEA5;     /* Muted / Secondary Text */
  --bs-border-color: #E8E6DC;        /* Borders & UI Dividers */

  /* UI Shape & Flat Depth Preferences */
  --bs-border-radius: 8px;
  --bs-border-radius-sm: 6px;
  --bs-border-radius-lg: 8px;
  --bs-border-radius-xl: 8px;
  --bs-border-radius-2xl: 8px;
  --bs-box-shadow: none;             /* Pure Flat Design */
  --bs-box-shadow-sm: none;
  --bs-box-shadow-lg: none;
}

/* Typography Application */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--bs-font-heading);
  letter-spacing: -0.02em;
}

/* Flat Card Styling */
.card {
  border: 1px solid var(--bs-border-color);
  box-shadow: none !important;
  background-color: #FFFFFF;
}

/* Custom Accent Badge Classes */
.badge-blue { background-color: #6A9BCC; color: #FFFFFF; }
.badge-green { background-color: #788C5D; color: #FFFFFF; }
.badge-sage { background-color: #BCD1CA; color: #141413; }
.badge-rose { background-color: #C46686; color: #FFFFFF; }
.badge-heather { background-color: #CBCADB; color: #141413; }
.badge-yellow { background-color: #E2BA6E; color: #141413; }

/* Flat Primary Button States */
.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #FFFFFF;
  box-shadow: none !important;
}
.btn-primary:hover {
  background-color: #c46546;
  border-color: #c46546;
}
.btn-dark {
  background-color: var(--bs-dark);
  border-color: var(--bs-dark);
  color: #FAF9F5;
  box-shadow: none !important;
}

/* Additional UI Polish for Premium Look */
body {
  font-family: var(--bs-font-sans-serif);
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.text-terracotta {
  color: var(--bs-primary);
}

.border-divider {
  border-color: var(--bs-border-color) !important;
}

/* Miro Canvas Animation Keyframes & Classes */
.miro-canvas {
  position: relative;
  height: 380px;
  background-color: #FAF9F5;
  background-image: radial-gradient(#E8E6DC 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}

.miro-grid-line-h {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  border-top: 1px dashed rgba(20, 20, 19, 0.08);
  pointer-events: none;
  z-index: 2;
}

.miro-grid-line-v {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  border-left: 1px dashed rgba(20, 20, 19, 0.08);
  pointer-events: none;
  z-index: 2;
}

.miro-quadrant-label {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #B0AEA5;
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 2;
}

.label-q1 { top: 12px; left: 16px; }
.label-q2 { top: 12px; right: 16px; }
.label-q3 { bottom: 12px; left: 16px; }
.label-q4 { bottom: 12px; right: 16px; }

/* Sticky Notes */
.miro-note {
  position: absolute;
  width: 75px;
  height: 75px;
  padding: 8px;
  box-shadow: 0 8px 16px rgba(20, 20, 19, 0.1), 0 2px 4px rgba(20, 20, 19, 0.05);
  font-family: var(--bs-font-sans-serif);
  font-size: 0.65rem;
  font-weight: 500;
  color: #141413;
  line-height: 1.2;
  border-radius: 2px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.note-yellow { background-color: #E2BA6E; color: #141413; border: 1px solid #E2BA6E; } /* Gold/Yellow brand accent */
.note-blue { background-color: #6A9BCC; color: #FFFFFF; border: 1px solid #6A9BCC; }   /* Blue accent */
.note-green { background-color: #788C5D; color: #FFFFFF; border: 1px solid #788C5D; }   /* Green accent */
.note-pink { background-color: #C46686; color: #FFFFFF; border: 1px solid #C46686; }   /* Rose accent */
.note-orange { background-color: #BCD1CA; color: #141413; border: 1px solid #BCD1CA; } /* Sage accent */

/* Multiplayer Cursors */
.miro-cursor {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 2px;
  z-index: 10;
  pointer-events: none;
  font-family: var(--bs-font-sans-serif);
  font-size: 0.65rem;
  font-weight: 500;
  white-space: nowrap;
}

.miro-cursor svg {
  filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.15));
  flex-shrink: 0;
}

.miro-label {
  padding: 2px 6px;
  border-radius: 4px 12px 12px 12px;
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Animations for Cursors */
.ceo-cursor { animation: move-ceo 16s ease-in-out infinite; }
.product-cursor { animation: move-product 18s ease-in-out infinite; }
.marketing-cursor { animation: move-marketing 15s ease-in-out infinite; }
.ops-cursor { animation: move-ops 17s ease-in-out infinite; }
.sales-cursor { animation: move-sales 20s ease-in-out infinite; }
.ai-cursor { animation: move-ai 14s ease-in-out infinite; }

/* Note Dragging Animations */
.note-ceo-drag { animation: drag-note-yellow 16s ease-in-out infinite; }
.note-marketing-drag { animation: drag-note-blue 15s ease-in-out infinite; }
.note-ops-drag { animation: drag-note-pink 17s ease-in-out infinite; }

@keyframes move-ceo {
  0%, 100% { top: 15%; left: 10%; }
  25% { top: 45%; left: 45%; } /* Move to center note */
  40% { top: 20%; left: 15%; } /* Drag to Q1 */
  60% { top: 25%; left: 20%; } /* Rest in Q1 */
  80% { top: 60%; left: 30%; }
}

@keyframes drag-note-yellow {
  0%, 25%, 100% { top: 48%; left: 46%; } /* Middle starting spot */
  40%, 80% { top: 20%; left: 15%; }     /* Dragged to Q1 */
}

@keyframes move-product {
  0%, 100% { top: 15%; left: 85%; }
  30% { top: 28%; left: 60%; } /* Hover Q2 */
  55% { top: 70%; left: 75%; } /* Investigate Q4 */
  80% { top: 25%; left: 70%; }
}

@keyframes move-marketing {
  0%, 100% { top: 85%; left: 80%; }
  35% { top: 52%; left: 48%; } /* Move to center blue note */
  50% { top: 72%; left: 22%; } /* Drag to Q3 */
  75% { top: 65%; left: 20%; } /* Rest in Q3 */
}

@keyframes drag-note-blue {
  0%, 35%, 100% { top: 52%; left: 49%; } /* Middle starting spot */
  50%, 75% { top: 72%; left: 22%; }     /* Dragged to Q3 */
}

@keyframes move-ops {
  0%, 100% { top: 10%; left: 40%; }
  20% { top: 42%; left: 51%; } /* Move to center pink note */
  38% { top: 22%; left: 65%; } /* Drag to Q2 */
  65% { top: 25%; left: 68%; } /* Rest in Q2 */
  85% { top: 80%; left: 35%; }
}

@keyframes drag-note-pink {
  0%, 20%, 100% { top: 44%; left: 52%; } /* Middle starting spot */
  38%, 65% { top: 22%; left: 65%; }     /* Dragged to Q2 */
}

@keyframes move-sales {
  0%, 100% { top: 75%; left: 15%; }
  28% { top: 22%; left: 20%; } /* Hover note yellow in Q1 */
  60% { top: 78%; left: 60%; } /* Hover green note in Q4 */
  82% { top: 50%; left: 80%; }
}

@keyframes move-ai {
  0%, 100% { top: 55%; left: 90%; }
  32% { top: 75%; left: 70%; } /* Hover green note in Q4 */
  68% { top: 30%; left: 75%; }
  85% { top: 68%; left: 55%; }
}

/* Testimonial Slider Layout */
.testimonial-slider-container {
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none;  /* Hide scrollbar IE/Edge */
  user-select: none;
}

.testimonial-slider-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.testimonial-slide {
  width: auto;
  max-width: 480px;
  min-width: 320px;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .testimonial-slide {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
  }
}

.testimonial-slide .card {
  height: 100%;
  transition: border-color 0.2s ease;
  background-color: #FFFFFF !important;
}

.testimonial-item .card {
  height: 100%;
  transition: border-color 0.2s ease;
  background-color: var(--bs-body-bg) !important;
}

/* Section Accent Colors & Helper Classes */
.badge-challenge {
  background-color: #E2BA6E !important;
  color: #141413 !important;
}
.badge-use-cases {
  background-color: #BCD1CA !important;
  color: #141413 !important;
}
.badge-testimonials {
  background-color: #CBCADB !important;
  color: #141413 !important;
}
.badge-about {
  background-color: #6A9BCC !important;
  color: #FAF9F5 !important;
}
.badge-alignment {
  background-color: #D97757 !important;
  color: #FAF9F5 !important;
}

/* Icon / Highlight background fills */
.bg-challenge-accent {
  background-color: #E2BA6E !important;
  color: #141413 !important;
}
.bg-use-cases-accent {
  background-color: #BCD1CA !important;
  color: #141413 !important;
}
.bg-testimonials-accent {
  background-color: #CBCADB !important;
  color: #141413 !important;
}
.bg-about-accent {
  background-color: #6A9BCC !important;
  color: #FAF9F5 !important;
}
.bg-alignment-accent {
  background-color: #D97757 !important;
  color: #FAF9F5 !important;
}

/* Read all testimonials hover effect */
.read-all-link {
  color: var(--bs-primary) !important;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.read-all-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* Make arrow slide slightly to the right on hover */
.read-all-link i {
  transition: transform 0.2s ease;
  display: inline-block;
}

.read-all-link:hover i {
  transform: translateX(4px);
}

/* Footer & general utility hover effects */
.hover-terracotta {
  transition: color 0.2s ease-in-out;
}

.hover-terracotta:hover {
  color: var(--bs-primary) !important;
}

.transition-all {
  transition: all 0.2s ease-in-out !important;
}

/* Smart Sticky Header scrolling classes for mobile */
.navbar {
  transition: transform 0.3s ease-in-out !important;
}
.navbar-hidden {
  transform: translateY(-100%) !important;
}
