/* Home Page Styles */

/* Remove container constraints for home page */
body:has(.hero-guest) .container,
body:has(.hero-active-avatar) .container {
  padding: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Common Container */
.container-narrow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Guest Hero Section */
.hero-guest {
  background: #f8f9fa;
  color: #1f2937;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-neural-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-guest .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  min-height: 400px;
}

.hero-guest .hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}

.hero-guest .hero-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 320px;
}

.hero-guest .hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-align: left;
}

.hero-guest .hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.95;
  text-align: left;
  max-width: 700px;
  margin-left: 0;
  margin-right: auto;
}

.hero-visual {
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.map-preview {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.map-preview:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.map-preview-link {
  text-decoration: none;
  color: white;
  display: block;
}

.map-preview-text {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Logged-in Hero Section */
.hero-active-avatar {
  position: relative;
  background: #f8f9fa;
  color: #1f2937;
  padding: 40px 20px;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-active-avatar .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  min-height: 300px;
}

.hero-active-avatar .hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}

.hero-active-avatar .hero-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 320px;
}

.hero-active-avatar .hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: left;
}

.hero-active-avatar .hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  text-align: left;
  max-width: 700px;
  margin-left: 0;
  margin-right: auto;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn {
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 1rem;
}

.btn-primary {
  background: #667eea;
  color: white;
}

.btn-primary:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background: #667eea;
  color: white;
}

.btn-primary-large {
  padding: 16px 48px;
  font-size: 1.2rem;
}

.btn-primary-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-outline {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
  padding: 8px 20px;
}

.btn-outline:hover {
  background: #667eea;
  color: white;
}

/* AI Assistant Box */
.hero-assistant {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
  box-sizing: border-box;
}

.assistant-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.assistant-avatar {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.assistant-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #667eea;
}

.assistant-message {
  background: #f3f4f6;
  border-radius: 12px;
  padding: 12px;
  color: #1f2937;
  text-align: left;
  flex: 1;
}

.assistant-message p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.assistant-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-assistant {
  background: #667eea;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: block;
}

.btn-assistant:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Sections */
section {
  padding: 60px 20px;
}

section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #1f2937;
}

.section-description {
  text-align: center;
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.section-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 1rem;
  text-align: center;
}

.section-highlight {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  color: #667eea;
  margin-top: 2rem;
}

/* Business Status Section */
.business-status-section {
  background: white;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 3rem 20px;
}

.status-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.avatar-profile-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.avatar-profile-left {
  flex-shrink: 0;
}

.avatar-profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.avatar-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-profile-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.avatar-profile-name {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.avatar-profile-name h3 {
  font-size: 1.25rem;
  color: #1f2937;
  margin: 0;
  font-weight: 700;
}

.avatar-status-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-badge.active {
  background: #dbeafe;
  color: #1e40af;
}

.status-badge.published {
  background: #d1fae5;
  color: #065f46;
}

.detail-item:not(:last-child)::after {
  content: "・";
}

@media (max-width: 768px) {
  .container-narrow {
    padding: 0;
  }
  
  .avatar-profile-row {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    align-items: start;
  }
  
  .avatar-profile-left {
    grid-column: 1;
    grid-row: 1;
  }
  
  .avatar-profile-image {
    width: 64px;
    height: 64px;
  }
  
  .avatar-profile-right {
    grid-column: 2;
    grid-row: 1;
    gap: 0.5rem;
  }
  
  .avatar-profile-name {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .avatar-profile-name h3 {
    font-size: 1.25rem;
  }
}

/* Problem Cards Grid */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.problem-card {
  background: white;
  border-left: 4px solid #667eea;
  padding: 0 2rem;
  text-align: left;
  transition: all 0.3s ease;
}

.problem-card:hover {
  border-left-color: #5568d3;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.problem-card h3 {
  font-size: 1rem;
  color: #1f2937;
  margin-bottom: 0.75rem;
  text-align: left;
}

.problem-card p {
  color: #6b7280;
  line-height: 1.6;
  text-align: left;
}

/* Steps Grid */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 3rem 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  background: white;
  border-left: 4px solid #667eea;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  text-align: left;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  width: 90%;
}

.step-card:nth-child(1) {
  margin-left: 0;
}

.step-card:nth-child(2) {
  margin-left: 40px;
}

.step-card:nth-child(3) {
  margin-left: 80px;
}

.step-card:nth-child(4) {
  margin-left: 120px;
}

.step-card:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
  border-left-color: #5568d3;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-card h3 {
  font-size: 1.15rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: #6b7280;
  font-size: 0.95rem;
  margin: 0;
}

.step-content {
  flex: 1;
}

/* Insights Grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.insight-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.insight-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.insight-card h3 {
  font-size: 1.15rem;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.insight-card p {
  color: #6b7280;
  font-size: 0.95rem;
}

/* Audience Grid */
.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.audience-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
}

/* Placeholder Cards */
.placeholder-card {
  background: #f9fafb;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  color: #6b7280;
}

.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.placeholder-card p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Business Cards */
.business-cards,
.conversations-list {
  margin: 2rem 0;
}

/* Conversation Cards */
.conversation-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

.conversation-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.conversation-link {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  gap: 1rem;
}

.conversation-avatar {
  flex-shrink: 0;
}

.conversation-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e7eb;
}

.conversation-info {
  flex: 1;
  min-width: 0;
}

.conversation-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.conversation-last-message {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0 0 0.5rem 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

.message-count {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.final-cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Suggested Avatars Section */
.suggested-avatars-section {
  background: #f9fafb;
  padding: 4rem 20px;
}

.suggested-avatars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.suggested-avatar-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.suggested-avatar-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.suggested-avatar-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.5rem;
}

.suggested-avatar-image {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.suggested-avatar-image img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e5e7eb;
}

.suggested-avatar-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
  margin-bottom: 1rem;
}

.suggested-avatar-details {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
}

.suggested-avatar-details .detail-item {
  display: inline;
}

.suggested-avatar-details .detail-item:not(:last-child)::after {
  content: " • ";
  margin: 0 0.25rem;
}

@media (max-width: 768px) {
  .suggested-avatars-grid {
    grid-template-columns: 1fr;
  }
}

/* Core Idea Section */
.core-idea-section {
  background: #f9fafb;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.use-case-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #e5e7eb;
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
  border-color: #667eea;
}

.use-case-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
}

.use-case-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.use-case-avatar svg {
  width: 100%;
  height: 100%;
}

.use-case-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

/* Discover Section */
.discover-section {
  text-align: center;
  background: #fafbfc;
}

.discover-map-preview {
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  position: relative;
}

.discover-map-preview #discoverMap {
  display: none; /* Hidden until initialized */
}

.discover-map-preview #mapLoadingMessage {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
}

/* Conversations Section */
.conversations-section {
  background: #f3f4f6;
  padding-bottom: 4rem;
}

.conversations-carousel {
  position: relative;
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 60px;
}

.carousel-container {
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 1.5rem;
}

.carousel-slide {
  flex: 0 0 calc(50% - 0.75rem);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #667eea;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-nav:hover {
  background: #667eea;
}

.carousel-nav:hover svg {
  stroke: white;
}

.carousel-nav svg {
  stroke: #667eea;
  transition: stroke 0.3s ease;
}

.carousel-nav.prev {
  left: 0;
}

.carousel-nav.next {
  right: 0;
}

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

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dots .dot.active {
  background: #667eea;
  width: 32px;
  border-radius: 6px;
}

/* Map Discovery Section */
.map-discovery {
  text-align: center;
}

/* Why Section */
.why-section {
  background: white;
}

/* Who For Section */
.who-for-section {
  background: #f9fafb;
}

.testimonials-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 3rem;
}

/* Easy Creation Section */
.easy-creation-section {
  background: linear-gradient(135deg, #f0f4ff 0%, #fef2f8 50%, #f0fdf4 100%);
  padding: 5rem 0;
}

.easy-creation-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 1rem;
}

.easy-creation-section .section-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #4a5568;
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.7;
}

.creation-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.creation-step {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.creation-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
  border-color: #667eea;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-content {
  text-align: center;
}

.step-number {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.creation-step h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.creation-step p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a5568;
  margin: 0;
}

.creation-result {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.12);
  border: 3px solid #667eea;
  position: relative;
  overflow: hidden;
  grid-column: span 2;
}

.creation-result::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #ec4899 50%, #10b981 100%);
}

.result-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.result-icon svg {
  width: 100%;
  height: 100%;
}

.creation-result h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.creation-result p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #4a5568;
  margin: 0;
}

@media (max-width: 1024px) {
  .creation-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .easy-creation-section {
    padding: 60px 20px;
  }

  .easy-creation-section h2 {
    font-size: 2rem;
  }

  .easy-creation-section .section-intro {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
  }

  .creation-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .creation-step {
    padding: 2rem;
  }

  .creation-step h3 {
    font-size: 1.2rem;
  }

  .creation-step p {
    font-size: 0.95rem;
  }

  .creation-result {
    padding: 2rem;
    grid-column: span 1;
  }

  .creation-result h3 {
    font-size: 1.6rem;
  }

  .creation-result p {
    font-size: 1rem;
  }
}

.testimonials-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.testimonial-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.testimonial-item.reverse {
  grid-template-columns: 1fr 300px;
}

.testimonial-item.reverse .testimonial-content {
  order: 1;
}

.testimonial-item.reverse .testimonial-image {
  order: 2;
}

.testimonial-image {
  width: 300px;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-header h3 {
  font-size: 1.8rem;
  color: #1a202c;
  margin: 0 0 8px 0;
}

.testimonial-role {
  font-size: 1rem;
  color: #667eea;
  font-weight: 600;
  margin: 0;
}

.testimonial-story {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-story p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a5568;
  margin: 0;
}

.testimonial-highlight {
  font-weight: 600;
  color: #2d3748;
  font-style: italic;
  padding-left: 20px;
  border-left: 4px solid #667eea;
}

@media (max-width: 768px) {
  .testimonials-container {
    gap: 40px;
  }

  .testimonial-item,
  .testimonial-item.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .testimonial-item.reverse .testimonial-content,
  .testimonial-item.reverse .testimonial-image {
    order: initial;
  }

  .testimonial-image {
    width: 100%;
    height: 250px;
    margin: 0 auto;
  }

  .testimonial-header h3 {
    font-size: 1.4rem;
  }

  .testimonial-role {
    font-size: 0.9rem;
  }

  .testimonial-story p {
    font-size: 0.95rem;
  }
}


/* Responsive Design */
@media (max-width: 768px) {
  .hero-guest .hero-content,
  .hero-active-avatar .hero-content {
    flex-direction: column;
    gap: 30px;
  }

  .hero-right {
    width: 100%;
    max-width: 100%;
    min-width: 100% !important;
    box-sizing: border-box;
  }

  .hero-assistant {
    max-width: 100%;
  }

  .assistant-avatar {
    margin-bottom: 12px;
  }

  .assistant-message {
    text-align: center;
  }

  .hero-guest .hero-title {
    font-size: 2rem;
  }

  .hero-guest .hero-subtitle {
    font-size: 1rem;
  }

  .hero-active-avatar .hero-title {
    font-size: 1.75rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .problems-grid,
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .steps-grid {
    gap: 1rem;
  }

  .step-card:nth-child(1),
  .step-card:nth-child(2),
  .step-card:nth-child(3),
  .step-card:nth-child(4) {
    margin-left: 0 !important;
  }

  .step-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 100%;
  }

  .step-content {
    text-align: center;
  }

  .conversations-carousel {
    padding: 0 20px;
  }

  .carousel-track {
    gap: 0;
  }

  .carousel-slide {
    flex: 0 0 100%;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
  }

  .carousel-nav.prev {
    left: -10px;
  }

  .carousel-nav.next {
    right: -10px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
