/* Demo Page - Clean Rebuild */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure navbar styling matches homepage exactly */
.navbar-menu li a {
  position: relative;
  color: #333F48;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 4px 8px;
  transition: color 0.3s ease;
}

.navbar-menu li a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
}

.navbar-menu li a:hover::after {
  opacity: 1;
}

.navbar-menu li a:hover {
  color: #725EE1;
  font-weight: 1000;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: #FFFFFF;
  color: #1F2937;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Back Button */
.back-button-container {
  position: fixed;
  top: 100px;
  left: 2rem;
  z-index: 999;
}

.back-button {
  background: rgba(31, 41, 55, 0.08);
  border: 1px solid rgba(31, 41, 55, 0.15);
  color: #374151;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  letter-spacing: -0.01em;
}

.back-button:hover {
  background: rgba(31, 41, 55, 0.15);
  border-color: rgba(31, 41, 55, 0.3);
  transform: translateY(-2px);
}

/* Background Pattern */
.background-pattern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    transparent 0%, 
    transparent 20%, 
    rgba(147, 51, 234, 0.08) 20%, 
    rgba(147, 51, 234, 0.08) 21%, 
    transparent 21%, 
    transparent 40%, 
    rgba(147, 51, 234, 0.08) 40%, 
    rgba(147, 51, 234, 0.08) 41%, 
    transparent 41%, 
    transparent 60%, 
    rgba(147, 51, 234, 0.08) 60%, 
    rgba(147, 51, 234, 0.08) 61%, 
    transparent 61%, 
    transparent 80%, 
    rgba(147, 51, 234, 0.08) 80%, 
    rgba(147, 51, 234, 0.08) 81%, 
    transparent 81%
  );
  background-size: 60px 60px;
  z-index: -1;
  opacity: 1;
}

/* Page Header */
.page-header {
  text-align: center;
  padding: 120px 2rem 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.page-header p {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Demo Section Header */
.demo-section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem 0 2rem;
  margin-bottom: -1rem; /* Connect to demo container */
  z-index: 1;
}

.demo-header-content {
  background: linear-gradient(135deg, #9333EA 0%, #7C3AED 50%, #A855F7 100%);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-bottom: 2px solid rgba(147, 51, 234, 0.4); /* Add accent line */
  border-radius: 24px 24px 0 0; /* Only round top corners */
  padding: 0.75rem 2rem 1.25rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.25);
  max-width: min(1200px, 95vw); /* Match demo content width */
  width: 100%;
  position: relative;
}

.demo-header-content::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.6), rgba(255,255,255,0.3));
  border-radius: 0 0 2px 2px;
}

.demo-header-content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  padding: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* Main Demo Container */
.demo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem 4rem;
  min-height: auto;
}

/* Demo Content Box */
.demo-content-box {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(147, 51, 234, 0.15);
  border-top: none; /* Connect to header */
  border-radius: 0 0 24px 24px; /* Only round bottom corners */
  padding: 1.5rem;
  max-width: min(1200px, 95vw);
  width: 100%;
  max-height: min(60vh, 600px);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(147, 51, 234, 0.1);
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: stretch;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Left Panel - Try It Yourself */
.left-panel {
  flex: 0 0 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.try-it-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 20px;
  padding: 1.25rem;
  text-align: center;
  max-width: 300px;
  backdrop-filter: blur(10px);
  position: relative;
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.1);
}



.ai-avatar {
  margin: 0.5rem 0 0.75rem;
}

.avatar-image {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(146, 119, 255, 0.3);
}

.try-it-card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.ai-label {
  background: rgba(147, 51, 234, 0.15);
  color: #9333EA;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  margin-left: 0.5rem;
  letter-spacing: -0.01em;
}

.role {
  color: #6B7280;
  font-size: 13px;
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.personality-tags {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.tag {
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.tag.cold-call {
  background: rgba(59, 130, 246, 0.2);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tag.sassy {
  background: rgba(168, 85, 247, 0.2);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.tag.car-dealership {
  background: rgba(147, 51, 234, 0.2);
  color: #9333EA;
  border: 1px solid rgba(147, 51, 234, 0.3);
}

.description {
  color: #4B5563;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.try-button {
  background: linear-gradient(135deg, #9277FF, #7C3AED);
  color: #FFFFFF;
  border: none;
  padding: 14px 28px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 15px rgba(146, 119, 255, 0.3);
}

.try-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(146, 119, 255, 0.4);
}

/* Right Panel - Demo Display */
.right-panel {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.demo-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(147, 51, 234, 0.15);
  border-radius: 24px;
  padding: 2rem;
  width: 100%;
  height: 400px;
  box-shadow: 0 8px 32px rgba(147, 51, 234, 0.1);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  position: relative;
}

.demo-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(147, 51, 234, 0.15);
  flex-shrink: 0;
}

.demo-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.demo-content {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.play-demo-btn {
  background: linear-gradient(135deg, #9277FF, #7C3AED);
  color: #FFFFFF;
  border: none;
  padding: 14px 28px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(146, 119, 255, 0.3);
}

.play-demo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(146, 119, 255, 0.4);
}

.play-demo-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.stop-demo-btn {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #FFFFFF;
  border: none;
  padding: 14px 28px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.stop-demo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.stop-demo-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.demo-status {
  color: #6B7280;
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Demo Stages */
.demo-stage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s ease;
  text-align: center;
}

.demo-stage.active {
  opacity: 1;
  transform: translateX(0);
}

.stage-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Demo Welcome State */
.demo-welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.demo-welcome h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1F2937;
  text-align: center;
  line-height: 1.2;
}

.demo-welcome p {
  font-size: 0.95rem;
  color: rgba(31, 41, 55, 0.7);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  text-align: center;
  max-width: 400px;
}

.demo-welcome .demo-note {
  font-size: 0.85rem;
  color: rgba(31, 41, 55, 0.5);
  font-style: italic;
}

/* Transcript Container */
.transcript-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.transcript-messages {
  flex: 1;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: flex-end;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  min-height: 180px;
  max-height: 220px;
}

.transcript-message {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.transcript-message.active {
  opacity: 1;
  animation: messageHighlight 0.5s ease;
}

.transcript-message.customer {
  background: rgba(31, 41, 55, 0.08);
  border: 1px solid rgba(31, 41, 55, 0.15);
  align-self: flex-end;
  max-width: 70%;
  color: #1F2937;
  text-align: right;
  margin-left: auto;
  margin-right: 0;
  position: relative;
  right: 0;
}

.transcript-message.assistant {
  background: rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.2);
  align-self: flex-start;
  max-width: 70%;
  color: #1F2937;
  text-align: left;
  margin-right: auto;
  margin-left: 0;
  position: relative;
  left: 0;
}

.message-speaker {
  font-weight: 600;
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.customer .message-speaker {
  color: #374151;
}

.assistant .message-speaker {
  color: #9333EA;
}

@keyframes messageHighlight {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.audio-progress {
  margin-top: auto;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(147, 51, 234, 0.15);
  width: 100%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 10;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(147, 51, 234, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(147, 51, 234, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #9333EA, #A855F7);
  width: 0%;
  transition: width 0.1s ease;
}

.audio-time {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #6B7280;
  font-weight: 500;
  letter-spacing: -0.01em;
}



/* Stage 1: Starting Demo */
#stage-1 h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1F2937;
  line-height: 1.2;
}

#stage-1 p {
  font-size: 0.95rem;
  color: rgba(31, 41, 55, 0.7);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.demo-note {
  font-size: 0.85rem;
  color: rgba(31, 41, 55, 0.5);
  font-style: italic;
}

/* Stage 2: Front Desk Busy */
.busy-icon {
  width: 80px;
  height: 80px;
  background: #dc3545;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 1.5rem;
  font-weight: bold;
}

#stage-2 h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1F2937;
  line-height: 1.2;
  text-align: center;
}

/* Stage 3: AI Picks Up */
#stage-3 h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1F2937;
  line-height: 1.2;
}

/* Stage 4: Phone Ringing */
.phone-ringing-state {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.phone-ringing-state h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1F2937;
  text-align: center;
  line-height: 1.2;
}

/* Sound Bars */
.sound-bars {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 4px;
  height: 60px;
}

.bar {
  width: 4px;
  background: linear-gradient(to top, #9333EA, #A855F7);
  border-radius: 2px;
  animation: soundWave 1.5s ease-in-out infinite;
}

.bar:nth-child(1) { height: 15px; animation-delay: 0s; }
.bar:nth-child(2) { height: 25px; animation-delay: 0.1s; }
.bar:nth-child(3) { height: 35px; animation-delay: 0.2s; }
.bar:nth-child(4) { height: 45px; animation-delay: 0.3s; }
.bar:nth-child(5) { height: 55px; animation-delay: 0.4s; }
.bar:nth-child(6) { height: 45px; animation-delay: 0.5s; }
.bar:nth-child(7) { height: 35px; animation-delay: 0.6s; }
.bar:nth-child(8) { height: 25px; animation-delay: 0.7s; }
.bar:nth-child(9) { height: 20px; animation-delay: 0.8s; }
.bar:nth-child(10) { height: 15px; animation-delay: 0.9s; }

@keyframes soundWave {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(1.5); opacity: 1; }
}

/* Stage 3: Conversation */
.conversation-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  width: 100%;
}

.ai-message {
  background: rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.2);
  padding: 1.5rem;
  border-radius: 16px;
  font-size: 1.1rem;
  line-height: 1.6;
  align-self: flex-start;
  max-width: 80%;
  color: #1F2937;
}

.customer-message {
  background: rgba(31, 41, 55, 0.05);
  border: 1px solid rgba(31, 41, 55, 0.15);
  padding: 1.5rem;
  border-radius: 16px;
  font-size: 1.1rem;
  line-height: 1.6;
  align-self: flex-end;
  max-width: 80%;
  color: #1F2937;
}

/* Stage 4: Booking Cards */
.booking-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
  margin-bottom: 2rem;
}

.booking-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(147, 51, 234, 0.15);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.08);
}

.card-icon {
  font-size: 1.5rem;
  width: 40px;
  text-align: center;
}

.card-content {
  flex: 1;
  text-align: left;
}

.card-label {
  font-size: 0.9rem;
  color: rgba(31, 41, 55, 0.6);
  margin-bottom: 0.25rem;
}

.card-value {
  font-size: 1rem;
  font-weight: 500;
  color: #1F2937;
}

.final-message {
  max-width: 500px;
}

.final-message p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #1F2937;
}

.ai-response {
  color: rgba(31, 41, 55, 0.7);
  font-style: italic;
}

/* Call to Action Section */
.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  margin-top: 0;
  background: transparent; /* Same as rest of page */
}

.cta-container {
  background: rgba(250, 245, 255, 0.95);
  border: 1px solid rgba(147, 51, 234, 0.15);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(20px);
  max-width: 1200px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(147, 51, 234, 0.12), 
              0 8px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
}

.cta-content {
  text-align: center;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #1a1a1a;
  text-align: center;
  width: 100%;
}

.cta-content p {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  color: #4B5563;
  text-align: center;
  width: 100%;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 14px 28px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 140px;
  text-align: center;
}

.cta-button.primary {
  background: linear-gradient(135deg, #9277FF, #7C3AED);
  color: #FFFFFF;
  border: 2px solid transparent;
}

.cta-button.primary:hover {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(146, 119, 255, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: #9333EA;
  border: 2px solid rgba(147, 51, 234, 0.3);
}

.cta-button.secondary:hover {
  background: rgba(147, 51, 234, 0.1);
  border-color: #9333EA;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.2);
}

/* Try It Yourself Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
}

.modal-header {
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.02em;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6B7280;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #374151;
}

.demo-form {
  padding: 1rem 2rem 2rem 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: #FFFFFF;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #C084FC;
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.15);
}

.form-group input::placeholder {
  color: #9CA3AF;
}

.phone-note {
  display: block;
  font-size: 0.85rem;
  color: #9333EA;
  margin-top: 0.5rem;
  font-weight: 500;
}

.demo-submit-btn {
  background: linear-gradient(135deg, #9277FF, #7C3AED);
  color: #FFFFFF;
  border: none;
  padding: 14px 28px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1rem;
}

.demo-submit-btn:hover {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(146, 119, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-header {
    padding: 100px 2rem 2rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .demo-content-box {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    max-height: none;
    overflow-y: visible;
  }
  
  .demo-card {
    height: 350px;
    padding: 1.5rem;
  }
  
  .left-panel {
    flex: none;
    width: 100%;
    min-height: auto;
  }
  
  .right-panel {
    flex: none;
    width: 100%;
    min-height: auto;
  }
  

}

@media (max-width: 768px) {
  .demo-section-header {
    padding: 1rem 1rem 0 1rem;
  }
  
  .demo-header-content {
    padding: 0.6rem 1.5rem 1rem 1.5rem;
    max-width: 95%;
  }
  
  .demo-header-content h2 {
    font-size: 1rem;
  }
  
  .back-button-container {
    top: 80px;
    left: 1rem;
  }
  
  .page-header {
    padding: 80px 1rem 2rem;
  }
  
  .page-header h1 {
    font-size: 1.75rem;
  }
  
  .demo-container {
    padding: 0 1rem 3rem;
  }
  
  .demo-content-box {
    padding: 1.5rem;
    gap: 1.5rem;
    max-height: none;
    overflow-y: visible;
  }
  
  .try-it-card {
    max-width: 100%;
    padding: 1.5rem;
  }
  

  
  #stage-1 h1, #stage-2 h1, #stage-3 h1 {
    font-size: 1.6rem;
  }
  
  .busy-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .phone-ringing-state h1 {
    font-size: 1.6rem;
  }
  
  .demo-welcome h1 {
    font-size: 1.6rem;
  }
  
  .demo-welcome p {
    font-size: 0.9rem;
  }
  
  .conversation-container {
    max-width: 100%;
  }
  
  .ai-message, .customer-message {
    max-width: 90%;
    font-size: 1rem;
    padding: 1rem;
  }
  
  .demo-card {
    height: 300px;
    padding: 1.25rem;
  }
  
  .booking-cards {
    max-width: 100%;
  }
  
  .sound-bars {
    height: 50px;
  }
  
  .cta-section {
    padding: 0.75rem 1.5rem;
    margin-top: 0;
  }
  
  .cta-container {
    padding: 2.5rem 2rem;
    max-width: 90%;
  }
  
  .cta-content h2 {
    font-size: 1.875rem;
  }
  
  .cta-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .cta-button {
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .demo-section-header {
    padding: 0.75rem 0.5rem 0 0.5rem;
  }
  
  .demo-header-content {
    padding: 0.5rem 1rem 0.8rem 1rem;
  }
  
  .demo-header-content h2 {
    font-size: 0.9rem;
  }
  
  .back-button-container {
    top: 70px;
    left: 1rem;
  }
  
  .back-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .page-header {
    padding: 70px 1rem 2rem;
  }
  
  .page-header h1 {
    font-size: 1.5rem;
  }
  
  .demo-container {
    padding: 0 1rem 2rem;
  }
  
  .demo-content-box {
    padding: 1rem;
    gap: 1rem;
    max-height: none;
    overflow-y: visible;
  }
  
  .try-it-card {
    padding: 1rem;
  }
  
  .avatar-image {
    width: 70px;
    height: 70px;
  }
  

  
  #stage-1 h1, #stage-2 h1, #stage-3 h1 {
    font-size: 1.4rem;
  }
  
  .busy-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .phone-ringing-state h1 {
    font-size: 1.4rem;
  }
  
  .demo-welcome h1 {
    font-size: 1.4rem;
  }
  
  .demo-welcome p {
    font-size: 0.85rem;
  }
  
  .booking-card {
    padding: 0.75rem 1rem;
  }
  
  .card-icon {
    font-size: 1.2rem;
    width: 30px;
  }
  
  .play-demo-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .page-header {
    padding: 60px 0.5rem 1.5rem;
  }
  
  .page-header h1 {
    font-size: 1.375rem;
  }
  
  .demo-container {
    padding: 0 0.5rem 1.5rem;
  }
  
  .demo-content-box {
    padding: 0.75rem;
    gap: 0.75rem;
    border-radius: 16px;
  }
  
  .try-it-card {
    padding: 0.75rem;
    border-radius: 16px;
  }
  

  
  .back-button-container {
    top: 60px;
    left: 0.5rem;
  }
  
  .back-button {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
  
  .cta-section {
    padding: 0.5rem 1rem;
    margin-top: 0;
  }
  
  .cta-container {
    padding: 2rem 1.5rem;
    max-width: 95%;
  }
  
  .cta-content h2 {
    font-size: 1.5rem;
  }
  
  .cta-content p {
    font-size: 0.9rem;
  }
  
  .cta-button {
    min-width: 180px;
    padding: 12px 24px;
  }
  
  .modal-content {
    width: 95%;
    max-width: 450px;
  }
  
  .modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
  
  .modal-header h2 {
    font-size: 1.3rem;
  }
  
  .demo-form {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
  }
}