/* Hide the page title h1 */
article > h1 {
  display: none !important;
}

/* ==============================
   Page Background
   ============================== */
.md-content {
  background: linear-gradient(135deg,
    rgba(99, 102, 241, 0.03) 0%,
    rgba(168, 85, 247, 0.02) 25%,
    rgba(59, 130, 246, 0.03) 50%,
    rgba(147, 51, 234, 0.02) 75%,
    rgba(79, 70, 229, 0.03) 100%);
  background-attachment: fixed;
}

/* ==============================
   Hero Section
   ============================== */
.hero-section {
  text-align: center;
  padding: 0 0 0.5rem 0;
  margin-top: -0.5rem;
  position: relative;
  contain: layout style paint;
  animation: fadeInUp 0.8s ease-out;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 300px;
  background: radial-gradient(ellipse at top,
    rgba(147, 197, 253, 0.15) 0%,
    rgba(196, 181, 253, 0.1) 35%,
    transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--md-default-fg-color--light);
  font-weight: 500;
}

.hero-stats-line {
  font-size: 0.95rem;
  max-width: 800px;
  margin: 0 auto 0.75rem;
  line-height: 1.5;
  color: var(--md-default-fg-color--light);
}

.hero-used-by {
  font-size: 0.95rem;
  margin: 0 auto 0.75rem;
  color: var(--md-default-fg-color--light);
  white-space: nowrap;
}

.hero-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(147, 197, 253, 0.5);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.hero-link:hover {
  text-decoration-color: rgba(147, 197, 253, 0.9);
}

/* Hero Install Command */
.hero-install {
  margin: 0.5rem auto 0.75rem;
  display: inline-block;
}

.hero-install code {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 1.25rem;
  background: var(--md-code-bg-color);
  border: 1.5px solid rgba(147, 197, 253, 0.3);
  border-radius: 8px;
  color: var(--md-code-fg-color);
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  cursor: default;
}

.hero-install code:hover {
  border-color: rgba(147, 197, 253, 0.6);
  box-shadow: 0 2px 12px rgba(147, 197, 253, 0.15);
}

/* Hero Badges */
.hero-badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin: 1.25rem 0 1rem;
  flex-wrap: wrap;
}

.hero-badges a {
  display: inline-flex;
  transition: all 0.2s ease;
  border-radius: 10px;
  overflow: hidden;
}

.hero-badges a:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* Logo hover effect */
.hero-section img {
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 0 transparent);
  will-change: transform, filter;
}

.hero-section img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 24px rgba(147, 197, 253, 0.4));
}

/* ==============================
   CTA Buttons
   ============================== */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 0.75rem 0;
  flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
  padding: 0.875rem 2.25rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
  transform: translateZ(0);
}

.cta-primary .twemoji svg, .cta-secondary .twemoji svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  transition: transform 0.3s ease;
  will-change: transform;
}

.cta-primary {
  background: linear-gradient(135deg, #93c5fd 0%, #a78bfa 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(147, 197, 253, 0.4),
              0 2px 6px rgba(147, 197, 253, 0.2);
}

.cta-primary,
.cta-primary:link,
.cta-primary:visited,
.cta-primary:active {
  color: #ffffff !important;
}

.cta-primary .twemoji svg {
  fill: #ffffff !important;
}

.cta-primary:hover {
  transform: translateY(-3px) translateZ(0);
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(147, 197, 253, 0.5),
              0 4px 12px rgba(147, 197, 253, 0.3);
}

.cta-primary:hover .twemoji svg {
  transform: scale(1.1) rotate(5deg);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(147, 197, 253, 0.3);
  color: var(--md-default-fg-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.cta-secondary:hover {
  background: rgba(147, 197, 253, 0.15);
  border-color: rgba(147, 197, 253, 0.5);
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 4px 16px rgba(147, 197, 253, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ==============================
   Company Logos Marquee
   ============================== */
.marquee-section {
  margin: 0.5rem 0 2rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.marquee-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--md-default-fg-color--light);
  opacity: 0.45;
  flex-shrink: 0;
  padding-left: 0.25rem;
  padding-right: 1.75rem;
  position: relative;
  z-index: 2;
  line-height: 1.4;
}

.marquee-wrapper {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.marquee-track a, .marquee-track span {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--md-default-fg-color--light);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.marquee-track a:hover {
  color: #60a5fa;
  background: rgba(147, 197, 253, 0.1);
}

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

/* Pause on hover */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* ==============================
   Stats Grid
   ============================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.stat-card {
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: var(--md-code-bg-color);
  border: 1px solid rgba(147, 197, 253, 0.2);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06),
              0 0 0 1px rgba(147, 197, 253, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  contain: layout style paint;
  will-change: transform, box-shadow;
  transform: translateZ(0);
  text-decoration: none;
  color: inherit;
  display: block;
  animation: fadeInUp 0.6s ease-out forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #818cf8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px) translateZ(0);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1),
              0 4px 12px rgba(147, 197, 253, 0.15);
  border-color: rgba(147, 197, 253, 0.3);
}

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

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4f8fe6, #8b6fc0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

/* Darker gradient for light mode visibility */
[data-md-color-scheme="default"] .stat-number {
  background: linear-gradient(135deg, #3b7dd8, #7c5fb8);
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--md-default-fg-color);
  font-weight: 600;
}

.stat-desc {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--md-default-fg-color--light);
  opacity: 0.8;
}

/* ==============================
   Badges Row
   ============================== */
.badges-row {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
  margin: 0.75rem 0 1rem;
}

.badges-row a {
  display: inline-flex;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.badges-row a:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.badges-row img {
  height: 22px;
  border-radius: 4px;
}

/* ==============================
   How It Works - Horizontal Flow
   ============================== */
.how-it-works-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 1rem;
  padding: 1.5rem;
  background: var(--md-code-bg-color);
  border: 1px solid rgba(147, 197, 253, 0.15);
  border-radius: 16px;
  position: relative;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: all 0.2s ease;
  text-align: center;
  min-width: 100px;
}

.flow-step:hover {
  background: rgba(147, 197, 253, 0.08);
}

.flow-step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  color: #1e293b;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: currentColor;
  -webkit-background-clip: unset;
}

.flow-step-icon svg {
  width: 22px;
  height: 22px;
  fill: white;
}

/* Colored icon backgrounds - override the inline color with proper backgrounds */
.flow-step .flow-step-icon {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(167, 139, 250, 0.15));
}

.flow-step .flow-step-icon svg {
  fill: currentColor;
}

.flow-step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--md-default-fg-color);
  line-height: 1.3;
}

.flow-step-desc {
  font-size: 0.72rem;
  color: var(--md-default-fg-color--light);
  opacity: 0.75;
  line-height: 1.35;
  margin-top: 0.15rem;
  max-width: 130px;
}

.flow-arrow {
  font-size: 1.25rem;
  color: rgba(147, 197, 253, 0.5);
  font-weight: 300;
  flex-shrink: 0;
}

.flow-loop {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.4rem;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(167, 139, 250, 0.08));
  border-radius: 6px;
  border: 1px dashed rgba(147, 197, 253, 0.25);
  color: var(--md-default-fg-color--light);
  font-size: 0.8rem;
  font-weight: 500;
}

.flow-loop svg {
  color: #60a5fa;
}

.how-it-works-insight {
  text-align: center;
  font-size: 0.95rem;
  color: var(--md-default-fg-color--light);
  margin: 0.75rem auto 0;
  max-width: 700px;
  line-height: 1.6;
}

.how-it-works-insight a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

.how-it-works-insight a:hover {
  text-decoration: underline;
}

/* ==============================
   Testimonials Grid (top 3 visible)
   ============================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 1rem;
}

/* ==============================
   Testimonial Cards (shared)
   ============================== */
.testimonial-card {
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--md-code-bg-color);
  border: 1px solid rgba(147, 197, 253, 0.2);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06),
              0 0 0 1px rgba(147, 197, 253, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  contain: layout style paint;
  will-change: transform, box-shadow;
  transform: translateZ(0);
  flex-shrink: 0;
  width: 100%;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(147, 197, 253, 0.5) 50%,
    transparent 100%);
}

.testimonial-card:hover {
  transform: translateY(-4px) translateZ(0);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1),
              0 4px 12px rgba(147, 197, 253, 0.12);
  border-color: rgba(147, 197, 253, 0.3);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.testimonial-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 8px rgba(147, 197, 253, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-icon img {
  width: 2rem;
  height: 2rem;
  filter: brightness(0) invert(0.5);
  opacity: 0.75;
  transition: all 0.2s ease;
}

.testimonial-icon span {
  font-size: 2rem;
}

.testimonial-card:hover .testimonial-icon img {
  opacity: 1;
  filter: brightness(0) invert(0.7) !important;
}

.testimonial-author {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--md-default-fg-color);
  margin-bottom: 0.15rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--md-default-fg-color--light);
  font-weight: 500;
}

.testimonial-content {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--md-default-fg-color--light);
  margin-bottom: 0.5rem;
}

.testimonial-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.testimonial-link:hover {
  color: #93c5fd;
  gap: 0.75rem;
}

/* ==============================
   Testimonials Carousel
   ============================== */
.testimonials-section {
  margin: 1rem 0;
  position: relative;
  overflow: hidden;
  padding: 0 3rem;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--md-code-bg-color);
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-arrow:hover {
  background: rgba(147, 197, 253, 0.15);
  border-color: rgba(147, 197, 253, 0.4);
}

.carousel-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #60a5fa;
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(147, 197, 253, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(147, 197, 253, 0.5);
}

.carousel-dot.active {
  background: #60a5fa;
  width: 24px;
  border-radius: 4px;
}

.testimonials-carousel-wrapper {
  display: flex;
  width: 100%;
  transition: transform 0.4s ease;
}

.testimonials-track {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.testimonials-track .testimonial-card {
  max-width: 800px;
  width: 100%;
  height: auto;
}

/* ==============================
   Use Cases Grid
   ============================== */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.use-case-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--md-code-bg-color);
  border: 1px solid rgba(147, 197, 253, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(147, 197, 253, 0.15);
  border-color: rgba(147, 197, 253, 0.3);
}

.use-case-icon {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.use-case-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: #60a5fa;
  transition: all 0.2s ease;
}

.use-case-card:hover .use-case-icon svg {
  fill: #93c5fd;
  transform: scale(1.1);
}

.use-case-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--md-default-fg-color);
}

.use-case-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.9rem;
  color: var(--md-default-fg-color--light);
}

.use-case-list li {
  list-style: none !important;
  margin-left: 0 !important;
  padding: 0.25rem 0 0.25rem 1.2rem;
  position: relative;
}

.use-case-list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: #60a5fa;
}

/* ==============================
   Community Grid
   ============================== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.community-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--md-code-bg-color);
  border: 1px solid rgba(147, 197, 253, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(147, 197, 253, 0.15);
  border-color: rgba(147, 197, 253, 0.3);
}

.community-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.community-icon svg {
  width: 2rem;
  height: 2rem;
  fill: #60a5fa;
  transition: all 0.2s ease;
}

.community-card:hover .community-icon svg {
  fill: #93c5fd;
  transform: scale(1.1);
}

.community-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--md-default-fg-color);
}

.community-desc {
  font-size: 0.85rem;
  color: var(--md-default-fg-color--light);
}

/* ==============================
   Success CTA
   ============================== */
.success-cta {
  padding: 2rem;
  border-radius: 16px;
  background: var(--md-code-bg-color);
  border: 1px solid rgba(147, 197, 253, 0.15);
  text-align: center;
  margin: 1.5rem 0;
}

.success-cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--md-default-fg-color);
}

/* ==============================
   Comparison Table
   ============================== */
.check { color: #4CAF50 !important; }
.cross { color: #f44336 !important; }
.neutral { color: #FF9800 !important; }

.md-content table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.md-content table thead tr {
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
}

/* ==============================
   Section Headers
   ============================== */
.md-content h2 {
  font-weight: 700;
  margin-top: 3rem;
  padding-bottom: 0.5rem;
  position: relative;
}

.md-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  border-radius: 2px;
}

/* Enhanced code blocks */
.md-content pre {
  border: 1px solid rgba(147, 197, 253, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ==============================
   Animations
   ============================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================
   Light Mode Enhancements
   ============================== */
[data-md-color-scheme="default"] .stat-card,
[data-md-color-scheme="default"] .testimonial-card,
[data-md-color-scheme="default"] .use-case-card,
[data-md-color-scheme="default"] .community-card,
[data-md-color-scheme="default"] .success-cta {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-md-color-scheme="default"] .stat-card:hover,
[data-md-color-scheme="default"] .testimonial-card:hover,
[data-md-color-scheme="default"] .use-case-card:hover,
[data-md-color-scheme="default"] .community-card:hover {
  border-color: rgba(147, 197, 253, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

[data-md-color-scheme="default"] .how-it-works-flow {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-md-color-scheme="default"] .hero-install code {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

[data-md-color-scheme="default"] .marquee-track a,
[data-md-color-scheme="default"] .marquee-track span {
  color: #475569;
}

[data-md-color-scheme="default"] .marquee-track a:hover {
  color: #3b7dd8;
  background: rgba(59, 130, 246, 0.08);
}

[data-md-color-scheme="default"] .testimonial-icon img {
  filter: brightness(0) invert(0.35);
}

[data-md-color-scheme="default"] .testimonial-card:hover .testimonial-icon img {
  filter: brightness(0) invert(0.2) !important;
}

/* ==============================
   Dark Mode Overrides
   ============================== */
[data-md-color-scheme="slate"] .testimonial-icon img {
  filter: brightness(0) invert(0.7);
}

[data-md-color-scheme="slate"] .testimonial-card:hover .testimonial-icon img {
  filter: brightness(0) invert(0.9) !important;
}

/* ==============================
   Responsive
   ============================== */
@media (min-width: 1400px) {
  .testimonials-track .testimonial-card {
    max-width: 1100px;
  }
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-section::before {
    height: 200px;
  }

  .hero-stats-line {
    font-size: 0.9rem;
  }

  .hero-install code {
    font-size: 0.8rem;
    padding: 0.35rem 1rem;
  }

  .hero-used-by {
    white-space: normal;
  }

  .cta-primary, .cta-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .cta-buttons {
    gap: 0.75rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-section {
    margin: 0.5rem 0;
    padding: 0 2.5rem;
  }

  .carousel-arrow {
    width: 2rem;
    height: 2rem;
  }

  .carousel-arrow svg {
    width: 1rem;
    height: 1rem;
  }

  .testimonials-track .testimonial-card {
    max-width: 100%;
  }

  .testimonial-card {
    padding: 1rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .how-it-works-flow {
    gap: 0.15rem;
    padding: 1rem 0.5rem;
  }

  .flow-step {
    padding: 0.5rem;
    min-width: 70px;
  }

  .flow-step-label {
    font-size: 0.75rem;
  }

  .flow-step-desc {
    font-size: 0.65rem;
    max-width: 90px;
  }

  .flow-arrow {
    font-size: 1rem;
  }

  .flow-step-num {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .community-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .community-card {
    padding: 1.25rem 1rem;
  }

  .success-cta {
    padding: 1.5rem;
  }

  .marquee-label {
    font-size: 0.6rem;
    padding-right: 1rem;
  }

  .marquee-track a, .marquee-track span {
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
  }
}

@media (max-width: 550px) {
  .flow-step {
    min-width: 60px;
    padding: 0.4rem;
  }

  .flow-step-desc {
    display: none;
  }

  .flow-step-icon svg {
    width: 20px;
    height: 20px;
  }

  .flow-arrow {
    font-size: 0.85rem;
  }

  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
