/* ==========================================================================
   Landing Page — Premium CSS
   Apple-style glassmorphism, bento grid, GPU-accelerated animations
   ========================================================================== */

/* --- Glassmorphism Card --- */
.landing-glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.landing-glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
html.dark .landing-glass {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(100, 116, 139, 0.2);
}
html.dark .landing-glass:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* --- Gradient Border (hover) --- */
.gradient-border {
  position: relative;
  border: 1px solid transparent;
  background-clip: padding-box;
  transition: border-color 0.3s ease;
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #FF7B54, #38B2AC);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.gradient-border:hover::before {
  opacity: 1;
}

/* --- Bento Grid (Solution section) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.bento-grid .bento-large { grid-column: span 2; }
.bento-grid .bento-tall  { grid-row: span 2; }

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid .bento-large,
  .bento-grid .bento-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* --- CSS-only Particles (hero, final CTA) --- */
.landing-particles {
  position: relative;
  overflow: hidden;
}
.landing-particles::before,
.landing-particles::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.landing-particles::before {
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, var(--accent-30, rgba(255, 123, 84, 0.4)) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 60%, var(--color-teal, rgba(56, 178, 172, 0.35)) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 50% 15%, rgba(255, 209, 102, 0.35) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 45%, var(--accent-20, rgba(255, 123, 84, 0.3)) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 85% 75%, var(--color-teal, rgba(56, 178, 172, 0.3)) 50%, transparent 50%),
    radial-gradient(1px 1px at 20% 85%, rgba(255, 209, 102, 0.25) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 60% 90%, var(--accent-20, rgba(255, 123, 84, 0.25)) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 30%, var(--color-teal, rgba(56, 178, 172, 0.3)) 50%, transparent 50%);
  animation: particle-drift 25s linear infinite;
}
.landing-particles::after {
  background-image:
    radial-gradient(1px 1px at 15% 40%, var(--accent-20, rgba(255, 123, 84, 0.25)) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 40% 80%, var(--color-teal, rgba(56, 178, 172, 0.25)) 50%, transparent 50%),
    radial-gradient(1px 1px at 65% 25%, rgba(255, 209, 102, 0.2) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 80% 60%, var(--accent-20, rgba(255, 123, 84, 0.2)) 50%, transparent 50%),
    radial-gradient(1px 1px at 25% 70%, var(--color-teal, rgba(56, 178, 172, 0.2)) 50%, transparent 50%);
  animation: particle-drift 35s linear infinite reverse;
}

@keyframes particle-drift {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(-3%, -2%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* --- Counter Value (tabular nums) --- */
.counter-value {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* --- Step Connectors (How It Works) --- */
.step-connector {
  position: relative;
}
.step-connector::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2rem;
  width: 2px;
  height: 2rem;
  background: linear-gradient(to bottom, var(--accent), var(--color-teal, #38B2AC));
  opacity: 0.4;
  transform: translateX(-50%);
}
.step-connector:last-child::after {
  display: none;
}

@media (min-width: 768px) {
  .step-connector-horizontal::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 2rem;
    height: 2px;
    left: auto;
    bottom: auto;
    background: linear-gradient(to right, var(--accent), var(--color-teal, #38B2AC));
    opacity: 0.4;
    transform: translateY(-50%);
  }
  .step-connector-horizontal:last-child::after {
    display: none;
  }
}

/* --- Hero Mockup (legacy, keep for compat) --- */
.hero-mockup {
  perspective: 1200px;
  transform-style: preserve-3d;
}
.hero-mockup-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
html.dark .hero-mockup-card {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(100, 116, 139, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* =============================================
   Hero Feature Constellation
   ============================================= */
.hero-constellation {
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* Orbit ring subtle pulse */
.hero-orbit-ring {
  animation: hero-orbit-pulse 6s ease-in-out infinite;
}
@keyframes hero-orbit-pulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.02); }
}

/* --- Feature Cards --- */
.hero-feat-card {
  opacity: 0;
  animation: hero-feat-appear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 10;
}
.hero-feat-card:nth-child(3)  { animation-delay: 0.6s; }
.hero-feat-card:nth-child(4)  { animation-delay: 0.75s; }
.hero-feat-card:nth-child(5)  { animation-delay: 0.9s; }
.hero-feat-card:nth-child(6)  { animation-delay: 1.05s; }
.hero-feat-card:nth-child(7)  { animation-delay: 1.2s; }
.hero-feat-card:nth-child(8)  { animation-delay: 1.35s; }
.hero-feat-card:nth-child(9)  { animation-delay: 1.5s; }
.hero-feat-card:nth-child(10) { animation-delay: 1.65s; }

@keyframes hero-feat-appear {
  0% { opacity: 0; transform: translateY(20px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-feat-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  white-space: nowrap;
}
.hero-feat-inner:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
html.dark .hero-feat-inner {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(100, 116, 139, 0.3);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.2),
    0 1px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
html.dark .hero-feat-inner:hover {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feat-title {
  font-size: 12px;
  font-weight: 700;
  color: #1A3C6B;
  line-height: 1.2;
}
html.dark .hero-feat-title { color: #fff; }

.hero-feat-sub {
  font-size: 10px;
  color: #9CA3AF;
  line-height: 1.2;
}
html.dark .hero-feat-sub { color: rgba(255,255,255,0.5); }

.hero-feat-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.hero-feat-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: hero-dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes hero-dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* --- Float Animations (staggered, unique per card) --- */
.hero-float-1 { animation: hero-feat-appear 0.8s cubic-bezier(0.16,1,0.3,1) 0.6s forwards, hero-float-a 7s ease-in-out 1.4s infinite; opacity: 0; }
.hero-float-2 { animation: hero-feat-appear 0.8s cubic-bezier(0.16,1,0.3,1) 0.75s forwards, hero-float-b 8s ease-in-out 1.55s infinite; opacity: 0; }
.hero-float-3 { animation: hero-feat-appear 0.8s cubic-bezier(0.16,1,0.3,1) 0.9s forwards, hero-float-a 6.5s ease-in-out 1.7s infinite; opacity: 0; }
.hero-float-4 { animation: hero-feat-appear 0.8s cubic-bezier(0.16,1,0.3,1) 1.05s forwards, hero-float-c 7.5s ease-in-out 1.85s infinite; opacity: 0; }
.hero-float-5 { animation: hero-feat-appear 0.8s cubic-bezier(0.16,1,0.3,1) 1.2s forwards, hero-float-b 7s ease-in-out 2s infinite; opacity: 0; }
.hero-float-6 { animation: hero-feat-appear 0.8s cubic-bezier(0.16,1,0.3,1) 1.35s forwards, hero-float-c 8.5s ease-in-out 2.15s infinite; opacity: 0; }
.hero-float-7 { animation: hero-feat-appear 0.8s cubic-bezier(0.16,1,0.3,1) 1.5s forwards, hero-float-a 7.8s ease-in-out 2.3s infinite; opacity: 0; }
.hero-float-8 { animation: hero-feat-appear 0.8s cubic-bezier(0.16,1,0.3,1) 1.65s forwards, hero-float-b 6.8s ease-in-out 2.45s infinite; opacity: 0; }

.hero-float-center {
  animation: hero-feat-appear 0.8s cubic-bezier(0.16,1,0.3,1) 0.4s forwards, hero-float-center-bob 8s ease-in-out 1.2s infinite;
  opacity: 0;
}

@keyframes hero-float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes hero-float-b {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-6px) translateX(3px); }
  66% { transform: translateY(3px) translateX(-2px); }
}
@keyframes hero-float-c {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(0.5deg); }
}
@keyframes hero-float-center-bob {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-5px); }
}

/* --- Center Hub Card --- */
.hero-hub-card {
  width: 200px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
html.dark .hero-hub-card {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(100, 116, 139, 0.35);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Progress bar entrance animation */
.hero-progress-bar {
  animation: hero-progress-fill 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.5s forwards;
}
@keyframes hero-progress-fill {
  to { width: 75%; }
}

/* --- Micro Badges (floating notifications) --- */
.hero-micro-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  font-size: 9px;
  font-weight: 600;
  color: var(--micro-color, #6B7280);
  white-space: nowrap;
}
html.dark .hero-micro-badge {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(100, 116, 139, 0.25);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-micro { z-index: 15; }

.hero-float-micro-1 {
  opacity: 0;
  animation: hero-micro-appear 0.6s ease 2.2s forwards, hero-float-a 9s ease-in-out 2.8s infinite;
}
.hero-float-micro-2 {
  opacity: 0;
  animation: hero-micro-appear 0.6s ease 2.6s forwards, hero-float-b 10s ease-in-out 3.2s infinite;
}
.hero-float-micro-3 {
  opacity: 0;
  animation: hero-micro-appear 0.6s ease 3s forwards, hero-float-c 8s ease-in-out 3.6s infinite;
}

@keyframes hero-micro-appear {
  0% { opacity: 0; transform: scale(0.8) translateY(8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Connector lines fade-in */
.hero-connectors {
  opacity: 0;
  animation: hero-connectors-in 1.5s ease 1.8s forwards;
}
@keyframes hero-connectors-in {
  to { opacity: 1; }
}

/* --- Pricing Popular Card --- */
.pricing-popular {
  transform: scale(1.05);
  box-shadow:
    0 0 0 1px rgba(255, 123, 84, 0.3),
    0 0 40px rgba(255, 123, 84, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.1);
  z-index: 10;
  position: relative;
}
.pricing-popular::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #FF7B54, #38B2AC, #FFD166);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}
html.dark .pricing-popular {
  box-shadow:
    0 0 0 1px rgba(255, 123, 84, 0.3),
    0 0 50px rgba(255, 123, 84, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.4);
}

/* --- Feature Icon Glow --- */
.feature-icon-glow {
  position: relative;
  transition: transform 0.3s ease;
}
.feature-icon-glow::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: radial-gradient(circle, var(--glow-color, rgba(255, 123, 84, 0.2)) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}
.feature-icon-glow:hover {
  transform: translateY(-4px);
}
.feature-icon-glow:hover::after {
  opacity: 1;
}

/* --- Use Case Card --- */
.use-case-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.use-case-card .use-case-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
.use-case-card:hover .use-case-detail {
  max-height: 120px;
  opacity: 1;
}
.use-case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}
html.dark .use-case-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* --- Breathing Glow (CTA buttons) --- */
.breathing-glow {
  animation: breathe 3s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 20px var(--accent-20, rgba(255, 123, 84, 0.2)); }
  50%      { box-shadow: 0 0 35px var(--accent-30, rgba(255, 123, 84, 0.35)); }
}

/* --- Badge Pulse --- */
.badge-pulse {
  animation: badge-pulse 2.5s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.9; transform: scale(1.03); }
}

/* --- Animated Gradient Background (Final CTA) --- */
.animated-gradient-bg {
  background: linear-gradient(135deg, #FF7B54, #38B2AC, #FFD166, #FF7B54);
  background-size: 300% 300%;
  animation: gradient-shift 8s ease infinite;
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Quote Marks Decorative --- */
.quote-mark-gradient::before {
  content: '\201C';
  position: absolute;
  top: -0.25rem;
  left: 1rem;
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  background: linear-gradient(135deg, #FF7B54, #38B2AC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  pointer-events: none;
}

/* --- Nav Glass (scroll) --- */
.nav-glass {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 245, 228, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
html.dark .nav-glass {
  background: rgba(15, 23, 42, 0.85);
  border-bottom-color: rgba(100, 116, 139, 0.15);
}

/* --- Hover Arrow (blog, links) --- */
.hover-arrow .arrow-icon {
  transition: transform 0.3s ease;
}
.hover-arrow:hover .arrow-icon {
  transform: translateX(4px);
}

/* --- Agent Org Chart (AI Team Section) --- */
.agent-tabs {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.agent-tabs::-webkit-scrollbar {
  height: 4px;
}
.agent-tabs::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: 2px;
}

.agent-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.agent-tab:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
}
.agent-tab--active {
  background: var(--accent-10);
  color: var(--accent);
  border-color: var(--accent);
}
.agent-tab--active[style*="--tab-color"] {
  background: color-mix(in srgb, var(--tab-color) 12%, transparent);
  color: var(--tab-color);
  border-color: var(--tab-color);
}

/* Agent card fade-in on scroll */
.agent-card-animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.agent-card-animate.agent-card--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Auto-scrolling roster ribbon (fondateur page) */
.agent-roster-track {
  overflow: hidden;
}
.agent-roster-scroll {
  display: flex;
  gap: 0.5rem;
  width: max-content;
  animation: roster-scroll 60s linear infinite;
}
@keyframes roster-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.agent-roster-track:hover .agent-roster-scroll {
  animation-play-state: paused;
}

/* --- Pricing Segment Tabs --- */
.pricing-segment-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.pricing-segment-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-default);
  cursor: pointer;
  transition: all 0.2s;
}
.pricing-segment-tab.active {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}
.pricing-segment-tab:hover:not(.active) {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Features Toggle Expand --- */
.pricing-features-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}
.pricing-features-details.open {
  max-height: 2000px;
}

/* --- Features Toggle Button --- */
.pricing-features-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  padding: 0.5rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.pricing-features-toggle-btn:hover {
  color: var(--accent);
}
.pricing-features-toggle-btn svg {
  transition: transform 0.3s;
}
.pricing-features-toggle-btn.open svg {
  transform: rotate(180deg);
}

/* --- Founder Price Display --- */
.founder-price-original {
  text-decoration: line-through;
  color: var(--text-tertiary);
  font-size: 1rem;
}
.founder-badge-lifetime {
  background: linear-gradient(135deg, #EAB308, #F59E0B);
  color: #1a1a2e;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  display: inline-block;
}

/* --- Category Header in Expanded Features --- */
.pricing-category-header {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  padding: 0.5rem 0 0.25rem;
  border-bottom: 1px solid var(--border-default);
  margin-top: 0.75rem;
}

/* --- Comparison Table Enhancements --- */
.pricing-comparison-table th.highlighted {
  background: var(--accent-10);
}
.pricing-comparison-table td.highlighted {
  background: var(--accent-5);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .landing-glass,
  .gradient-border::before,
  .hero-mockup-card,
  .hero-feat-card,
  .hero-float-center,
  .hero-micro,
  .hero-connectors,
  .hero-orbit-ring,
  .hero-progress-bar,
  .feature-icon-glow,
  .use-case-card,
  .use-case-card .use-case-detail,
  .breathing-glow,
  .badge-pulse,
  .animated-gradient-bg,
  .landing-particles::before,
  .landing-particles::after,
  .hover-arrow .arrow-icon {
    animation: none !important;
    transition: none !important;
  }

  .agent-card-animate {
    opacity: 1;
    transform: none;
  }
  .agent-roster-scroll {
    animation: none !important;
  }
  .landing-glass:hover {
    transform: none;
  }
  .feature-icon-glow:hover {
    transform: none;
  }
  .use-case-card:hover {
    transform: none;
  }
  .use-case-card:hover .use-case-detail {
    max-height: 120px;
    opacity: 1;
  }
  .pricing-popular {
    transform: none;
  }
}

/* --- Quick Flow Mockup (Hero command bar) --- */
.quick-flow-mockup {
  max-width: 680px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}
.quick-flow-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
html:not(.dark) .quick-flow-input-row {
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.quick-flow-caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--flowayz-coral);
  margin-left: 2px;
  vertical-align: middle;
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.quick-flow-results {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 640px) {
  .quick-flow-results {
    flex-direction: row;
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quick-flow-caret { animation: none; opacity: 1; }
}

/* --- Kanban Client Portal Mockup --- */
.portal-kanban {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .portal-kanban {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
  }
}
.portal-kanban-col {
  min-width: 180px;
  flex-shrink: 0;
}
.portal-kanban-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}
.portal-kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
html.dark .portal-kanban-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
@media (prefers-reduced-motion: reduce) {
  .portal-kanban-card { transition: none; }
  .portal-kanban-card:hover { transform: none; }
}
