/* Custom font-face and typography for M Sans */
@font-face {
  font-family: '__saans_cd5095';
  src: url('/_next/static/media/bdc0e392c1683443-s.p.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: '__saans_Fallback_cd5095';
  src: local('Arial');
  ascent-override: 95.72%;
  descent-override: 22.67%;
  line-gap-override: 0.00%;
  size-adjust: 99.25%;
}

:root {
  --font-saans: '__saans_cd5095', '__saans_Fallback_cd5095';
  --navbar-height: 101px;
  --filterbar-height: 76px;
  --searchbar-top: 120px;
  --searchbar-min-bottom: 120px;
}

.title-font { font-family: var(--font-saans), sans-serif; }
body { margin: 0; font-family: 'Inter', sans-serif; }

@media (min-width: 840px) {
  :root { --navbar-height: 72px; }
}

.gradient-accent { background: linear-gradient(135deg,#6366F1 0%,#8B5CF6 100%); }
.section-dark   { background-color:#0F0F0F; }
.section-gray   { background-color:#1A1A1A; }
.device-frame { border: 16px solid #000; border-radius: 16px; }

/* CKEditor styles */
.ck-style { font-family: var(--font-saans), sans-serif !important; font-feature-settings: "dlig" on, "ss07" on, "calt" off !important; --ckPrimaryColor: #000 !important; }
.ck-style .bg-client-primary { background-color: hsl(var(--background-inverse)/1) !important; }
.ck-style .text-client-primary { color: hsl(var(--text-primary)/1) !important; }
.ck-style .border-text-client-primary { border-color: hsl(var(--text-primary)/1) !important; }
.ck-style .text-client-primary-middle { color: hsl(var(--background-tertiary)) !important; }
.ck-style .bg-client-primary-middle { background-color: hsl(var(--background-tertiary)) !important; }
.ck-style .bg-client-primary-light { background-color: hsl(var(--background-secondary)) !important; }

/* Animation for the App Logo Stack in Hero Section */
@keyframes subtleIconLevitate {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

[data-sentry-component="AppLogoStack"] > li > div {
  animation-name: subtleIconLevitate;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* Stagger the animations and vary durations for a more natural float */
[data-sentry-component="AppLogoStack"] > li:nth-child(1) > div {
  animation-duration: 3.8s;
  animation-delay: 0s;
}
[data-sentry-component="AppLogoStack"] > li:nth-child(2) > div {
  animation-duration: 4.2s;
  animation-delay: -1.3s;
}
[data-sentry-component="AppLogoStack"] > li:nth-child(3) > div {
  animation-duration: 4.0s;
  animation-delay: -2.5s;
}

/* Modern dropdown styling */
.modern-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}
.modern-select:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%234f46e5' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}

/* Smooth navbar transitions */
#nav-links {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#nav-waitlist-btn {
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              margin 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(20px);
  max-width: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
}

#nav-waitlist-btn.show {
  opacity: 1;
  transform: translateX(0);
  max-width: 200px;
  padding: 0.375rem 1rem;
  margin-left: -0.5rem;
}

#nav-links.shift-left {
  transform: translateX(-40px);
}

/* Deal Snapshot Animation Styles */
.deal-snapshot-container {
  position: relative;
  overflow: hidden;
}

/* Hide table content initially when starting with drop area */
.deal-snapshot-container.drop-area-mode .deal-snapshot-content {
  opacity: 0;
  pointer-events: none;
}

.deal-snapshot-content {
  transition: opacity 0.5s ease;
}

.upload-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #d1d5db; /* Start truly transparent */
  border: 2px dashed #d1d5db; /* Start with light gray dashed border */
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 10;
  cursor: pointer;
}

.upload-overlay.show {
  opacity: 1;
  animation: initialHighlight 5s ease-out forwards; /* Very short 0.3s transition */
}

/* One-time highlight animation - simplified transparent to white transition */
@keyframes initialHighlight {
  0% {
    border-color: #122750;
    background: rgb(238 242 255 / var(--tw-bg-opacity, 1))
  }
  100% {
    border-color: #6366f1;
    background: #ffffff;
  }
}

.upload-text {
  color: #6366f1;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.upload-subtext {
  color: #6b7280;
  font-size: 0.9rem;
}

.processing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 20;
  border-radius: 16px;
  transition: opacity 0.4s ease-in-out;
  padding: 32px; /* Increased padding */
}

.processing-overlay.show {
  opacity: 1;
}

/* Enhanced processing card container with better theming to match other cards */
.processing-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 20px; /* Reduced from 32px */
  max-width: 320px; /* Reduced from 400px */
  width: 100%;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* Updated header style for processing overlay with better spacing */
.processing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 16px; /* Reduced from 24px */
  padding-bottom: 12px; /* Reduced from 16px */
  border-bottom: 1px solid #e2e8f0;
}

.processing-title {
  font-size: 1.125rem; /* Slightly larger font */
  font-weight: 600; /* Increased font weight */
  color: #1e293b;
  letter-spacing: -0.025em;
}

/* Add the missing spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.processing-spinner {
  width: 18px; /* Slightly larger */
  height: 18px;
  border: 2px solid #f1f5f9;
  border-top: 2px solid #4f46e5;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Reduced container spacing */
.processing-steps-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px; /* Reduced from 12px */
}

/* Smaller individual step styling */
.processing-step {
  display: flex;
  align-items: center;
  gap: 12px; /* Reduced from 14px */
  padding: 10px 12px; /* Reduced from 14px 16px */
  background: linear-gradient(135deg, #fafafa 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px; /* Increased border radius */
  opacity: 0.6;
  transition: all 0.3s ease;
  min-height: 40px; /* Reduced from 48px */
}

.processing-step.active {
  opacity: 1;
  /* Remove blue background - keep same neutral styling */
  background: linear-gradient(135deg, #fafafa 0%, #f8fafc 100%);
  border-color: #e2e8f0;
  transform: translateX(2px); /* Subtle movement effect */
}

.processing-step.completed {
  opacity: 1;
  /* Remove green background - keep same neutral styling */
  background: linear-gradient(135deg, #fafafa 0%, #f8fafc 100%);
  border-color: #e2e8f0;
  transform: translateX(2px);
}

/* Enhanced icon within each step */
.processing-step-icon {
  width: 10px; /* Larger icon */
  height: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #cbd5e1;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.processing-step.active .processing-step-icon {
  /* Remove blue styling - keep neutral */
  background-color: #cbd5e1;
  box-shadow: none;
}

.processing-step.completed .processing-step-icon {
  background-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* Enhanced text within each step - lighter and smaller */
.processing-step-text {
  font-size: 0.75rem; /* Reduced from 0.8rem to make it smaller */
  font-weight: 300; /* Reduced from 400 for lighter text */
  color: #a1a1aa; /* Lighter color from #94a3b8 */
  line-height: 1.4;
}

.processing-step.active .processing-step-text {
  /* Remove blue text - keep neutral */
  color: #a1a1aa;
  font-weight: 300;
}

.processing-step.completed .processing-step-text {
  /* Keep text neutral, don't make it green */
  color: #a1a1aa;
  font-weight: 300;
}

/* Hand animation styles */
.hand-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 15; /* Increased from 5 to 15 to appear above the processing card */
  display: none; /* Hide the hand animation during processing */
}

.hand-icon {
  position: absolute;
  width: 32px;
  height: 32px;
  color: #6366f1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  animation: handMovement 8s ease-in-out infinite;
}

@keyframes handMovement {
  0% {
    top: 20%;
    left: 15%;
    transform: rotate(-15deg);
    opacity: 0.8;
  }
  15% {
    top: 25%;
    left: 75%;
    transform: rotate(10deg);
    opacity: 1;
  }
  30% {
    top: 45%;
    left: 80%;
    transform: rotate(5deg);
    opacity: 0.9;
  }
  45% {
    top: 65%;
    left: 25%;
    transform: rotate(-10deg);
    opacity: 1;
  }
  60% {
    top: 70%;
    left: 70%;
    transform: rotate(15deg);
    opacity: 0.8;
  }
  75% {
    top: 40%;
    left: 20%;
    transform: rotate(-5deg);
    opacity: 1;
  }
  90% {
    top: 30%;
    left: 60%;
    transform: rotate(8deg);
    opacity: 0.9;
  }
  100% {
    top: 20%;
    left: 15%;
    transform: rotate(-15deg);
    opacity: 0.8;
  }
}

/* Hand animation for dropzone */
.hand-animation-dropzone {
  position: absolute;
  top: 50%;
  left: 50%;
  animation: handMoveToCenter 2s ease-out forwards;
}

@keyframes handMoveToCenter {
  0% {
    transform: translate(-600%, -600%);
    opacity: 0.7;
  }
  100% {
    transform: translate(-100%, -300%);
    opacity: 1;
  }
}

.hand-icon-dropzone {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Typing animation for table rows */
.table-row-animated {
  opacity: 0;
  transform: translateY(10px);
  animation: slideInRow 0.5s ease forwards;
}

@keyframes slideInRow {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Status badge animation */
.status-badge {
  animation: pulseGreen 2s ease-in-out infinite;
}

@keyframes pulseGreen {
  0%, 100% { 
    background-color: rgb(220, 252, 231);
    color: rgb(22, 163, 74);
  }
  50% { 
    background-color: rgb(187, 247, 208);
    color: rgb(21, 128, 61);
  }
}

/* Risk indicator animations */
.risk-indicator {
  animation: pulseRisk 3s ease-in-out infinite;
}

.risk-indicator.yellow {
  animation-delay: 0s;
}

.risk-indicator.red {
  animation-delay: 1s;
}

.risk-indicator.green {
  animation-delay: 2s;
}

@keyframes pulseRisk {
  0%, 90%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  95% { 
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Button hover effect enhancement */
.generate-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 12px 24px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
}

.generate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background-color: #374151;
}

.generate-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.generate-btn:hover::before {
  left: 100%;
}

/* Playbook Hand Animation */
.playbook-card {
  position: relative;
  overflow: visible;
}

.playbook-hand-icon {
  position: absolute;
  width: 30px;
  height: 30px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.playbook-hand-icon img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* Row highlighting animation - even more subtle, no color change */
.playbook-row {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.playbook-row.highlighted {
  /* Remove all color changes - only use subtle transform and shadow */
  transform: scale(1.02); /* Very subtle scale, reduced from 1.01 */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); /* Very subtle shadow */
}

/* Button animation states */
.playbook-button {
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

.playbook-button.loading {
  pointer-events: none;
}

.playbook-button.loading .button-text {
  opacity: 0;
}

.playbook-button.success {
  background-color: #10b981;
  pointer-events: none;
}

.playbook-button.success .button-text {
  opacity: 0;
}

/* Spinner animation */
.button-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  opacity: 0;
  animation: spin 1s linear infinite;
}

.playbook-button.loading .button-spinner {
  opacity: 1;
}

/* Success checkmark */
.button-checkmark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  opacity: 0;
  color: white;
}

.playbook-button.success .button-checkmark {
  opacity: 1;
  animation: checkmarkAppear 0.6s ease-out;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes checkmarkAppear {
  0% { 
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.3);
  }
  100% { 
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Hand animation keyframes */
@keyframes playbook-hand-enter {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes playbook-hand-move {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(var(--target-y));
  }
}

@keyframes playbook-hand-click {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
}

.playbook-hand-icon.entering {
  animation: playbook-hand-enter 0.5s ease-out forwards;
}

.playbook-hand-icon.moving {
  animation: playbook-hand-move 0.8s ease-in-out forwards;
}

.playbook-hand-icon.clicking {
  animation: playbook-hand-click 0.3s ease-in-out;
}

/* Warranty Checker Animation Styles */
.warranty-checker-container {
  position: relative;
  min-height: 460px; /* Increased from 400px to 500px */
  height: 460px; /* Fixed height to prevent jumping */
}

/* Skeleton loading styles */
.conflict-skeleton {
  display: block;
}

.conflict-content {
  display: none;
}

.conflict-card.show-content .conflict-skeleton {
  display: none;
}

.conflict-card.show-content .conflict-content {
  display: block;
}

/* Skeleton elements with dark red tone to match alert background */
.skeleton-icon {
  background: linear-gradient(90deg, #dc2626 25%, #b91c1c 50%, #dc2626 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
  opacity: 0.1; /* Increased from 0.3 to 0.6 for better visibility */
}

.skeleton-title {
  background: linear-gradient(90deg, #dc2626 25%, #b91c1c 50%, #dc2626 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
  width: 60%;
  opacity: 0.1; /* Increased from 0.3 to 0.6 for better visibility */
}

.skeleton-text {
  background: linear-gradient(90deg, #dc2626 25%, #b91c1c 50%, #dc2626 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
  width: 100%;
  opacity: 0.1; /* Increased from 0.3 to 0.6 for better visibility */
}

@keyframes skeletonPulse {
  0% {
    background-position: -200% 0;
    opacity: 0.1; /* Start with lower opacity */
  }
  50% {
    background-position: 0% 0;
    opacity: 0.2; /* Peak at higher opacity for more contrast */
  }
  100% {
    background-position: 200% 0;
    opacity: 0.1; /* End with lower opacity */
  }
}

/* Typewriter effect - FIXED: Static cursor with no animation */
.typing-cursor::after {
  content: '|';
  color: #6366f1;
  animation: none !important; /* Completely disable any cursor animation */
  opacity: 1 !important; /* Always visible when class is present */
}

/* Text highlighting animations - immediate visibility with no transitions */
.text-highlight-red {
  background-color: #fecaca !important;
  color: #dc2626 !important;
  text-decoration: line-through;
  transition: none !important; /* Remove transitions that cause flashing */
  animation: none !important; /* Remove animations that cause flashing */
}

.text-highlight-green {
  background-color: #d1fae5 !important;
  color: #059669 !important;
  transition: none !important; /* Remove transitions that cause flashing */
  animation: none !important; /* Remove animations that cause flashing */
}

/* Warranty text container - consistent height with proper text flow */
#warranty-text {
  height: 90px; /* Fixed height to prevent layout shifts */
  display: block;
  line-height: 1.5;
  word-wrap: break-word;
  overflow: hidden;
  /* Ensure smooth text updates without visual glitches */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Remove any potential conflicting animations */
#warranty-text * {
  animation: none !important;
  transition: none !important;
}

/* Regulatory Review Animation Styles */
.regulatory-review-container {
  position: relative;
  min-height: 500px;
  height: 500px;
}

/* Analysis loading overlay styles */
.regulatory-analysis-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 20;
  border-radius: 16px;
  transition: opacity 0.4s ease-in-out;
  padding: 32px;
}

.regulatory-analysis-overlay.show {
  opacity: 1;
}

/* Analysis card styling */
.analysis-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 24px;
  max-width: 320px;
  width: 100%;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* Analysis header */
.analysis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.analysis-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.025em;
  flex: 1;
  margin-right: 12px;
}

.analysis-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #f1f5f9;
  border-top: 2px solid #4f46e5;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}

.analysis-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 20px;
  text-align: center;
}

/* Progress bar */
.analysis-progress {
  width: 100%;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  border-radius: 4px;
  width: 0%;
  animation: progressFill 3s ease-out forwards;
}

@keyframes progressFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Hide regulatory content when in analysis mode */
.regulatory-review-container.analysis-mode .regulatory-review-content {
  opacity: 0;
  pointer-events: none;
}

.regulatory-review-content {
  transition: opacity 0.5s ease;
}

/* Conflict card transition fix - updated to handle both display and opacity */
.conflict-card {
  transition: all 0.3s ease-in-out;
}

.conflict-card .conflict-skeleton {
  transition: opacity 0.3s ease-in-out;
  display: block;
  opacity: 1;
}

.conflict-card .conflict-content {
  transition: opacity 0.3s ease-in-out;
  display: none;
  opacity: 0;
}

/* When showing content, switch display and opacity states */
.conflict-card.show-content .conflict-skeleton {
  display: none;
  opacity: 0;
}

.conflict-card.show-content .conflict-content {
  display: block;
  opacity: 1;
}

/* --- MOBILE-SPECIFIC STYLES --- */
@media (max-width: 768px) {
  /* General body and section padding */
  body {
    font-size: 1rem;
    padding: 0;
  }
  section, footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Hero section */
  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.15 !important;
    padding: 0 0.5rem;
  }
  #hero p {
    font-size: 1.05rem !important;
    padding: 0 0.5rem;
  }
  #hero .flex {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  /* Showcase image */
  #showcase img {
    border-radius: 1.25rem !important;
    min-height: 180px;
    max-height: 220px;
    object-fit: cover;
  }
  /* USP callout */
  .usp-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  #usp-callout .grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  /* Features section */
  .feature-card {
    flex-direction: column !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 1.25rem !important;
    margin-bottom: 2.5rem !important;
  }
  .feature-card .flex-1 {
    padding: 1.25rem !important;
    min-height: unset !important;
    height: auto !important;
  }
  .feature-card .flex-1 img,
  .feature-card .deal-snapshot-container,
  .feature-card .playbook-card,
  .feature-card .warranty-checker-container,
  .feature-card .regulatory-review-container {
    max-height: 220px !important;
    min-height: 120px !important;
    object-fit: contain !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }
  .feature-card > .flex-1:last-child {
    margin-bottom: 0 !important;
  }
  .feature-card h2,
  .feature-card p,
  .feature-card span {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
  }
  /* Reviews section */
  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .reviews-grid > div {
    padding: 1.25rem 0.75rem !important;
  }
  /* Waitlist section */
  .waitlist-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  .waitlist-form-container {
    padding: 1.25rem 0.5rem !important;
    border-radius: 1.25rem !important;
  }
  #waitlist-form .grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  #waitlist-form input, #waitlist-form button {
    font-size: 1rem !important;
    padding: 0.75rem 1rem !important;
  }
  /* FAQ section */
  .faq-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  #faq .space-y-6 > div, #faq .space-y-8 > div {
    padding: 1.25rem 0.75rem !important;
    border-radius: 1.25rem !important;
  }
  /* Footer */
  footer .grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  footer .md\:col-span-2 {
    grid-column: span 1 / span 1 !important;
  }
  footer .flex {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  footer .text-center, footer .text-left {
    text-align: left !important;
  }
  /* Utility: Make all buttons full width on mobile */
  button, .generate-btn, .playbook-button {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 1rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  /* Utility: Reduce border radius for cards */
  .rounded-2xl, .rounded-3xl {
    border-radius: 1.25rem !important;
  }
  /* Hide desktop nav if present */
  .desktop-nav { display: none !important; }
}

/* --- END MOBILE-SPECIFIC STYLES --- */