/* Car Dealerships Industry Page Styles */

/* Fix navbar brand underline */
.navbar-brand {
  text-decoration: none;
}

.navbar-brand .company-name {
  text-decoration: none;
}

.navbar-brand:hover {
  text-decoration: none;
}

/* Hero Section */
.dealership-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 8rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dealership-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(114, 94, 225, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(114, 94, 225, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.dealership-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(114, 94, 225, 0.2);
  color: #9277FF;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(114, 94, 225, 0.3);
}

.dealership-hero .hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: white;
}

.dealership-hero .hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #9277FF;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

/* Problems Section */
.dealership-problems {
  padding: 6rem 2rem;
  background: #f8f9fa;
}

/* Department sections */
.department-section {
  margin-bottom: 4rem;
}

.department-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.department-badge {
  background: linear-gradient(135deg, #725EE1, #9277FF);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
}

.department-badge.service {
  background: linear-gradient(135deg, #2563EB, #3B82F6);
}

.department-benefit h3 {
  font-size: 1.8rem;
  color: #1F1235;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.department-benefit p {
  color: #505a63;
  font-style: italic;
  margin: 0;
}

.problems-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1F1235;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #505a63;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.problem-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.problem-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F1235;
  margin-bottom: 1rem;
}

.problem-card p {
  color: #505a63;
  line-height: 1.6;
}

/* Solutions Section */
.dealership-solutions {
  padding: 6rem 2rem;
  background: white;
}

.solutions-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.solutions-department {
  margin-bottom: 4rem;
}

.department-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1F1235;
  margin-bottom: 2rem;
  text-align: left;
}

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

.solution-card {
  padding: 2rem;
  border-radius: 16px;
  text-align: left;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.solution-card.sales {
  background: linear-gradient(135deg, rgba(114, 94, 225, 0.05), rgba(114, 94, 225, 0.1));
  border-color: rgba(114, 94, 225, 0.2);
}

.solution-card.service {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.1));
  border-color: rgba(37, 99, 235, 0.2);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.solution-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.solution-badge {
  background: linear-gradient(135deg, #4ECDC4, #44A08D);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.solution-card.service .solution-badge {
  background: linear-gradient(135deg, #FF6B6B, #EE5A24);
}

.solution-benefit {
  color: #22C55E;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: right;
  white-space: nowrap;
}

.solution-card p {
  color: #505a63;
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

/* ROI Section */
.dealership-roi {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #725EE1 0%, #9277FF 100%);
  color: white;
}

.roi-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.dealership-roi .section-title {
  color: white;
}

.dealership-roi .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.roi-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.roi-stat {
  text-align: center;
}

.roi-number {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.roi-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.roi-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Demo Section */
.dealership-demo {
  padding: 6rem 2rem;
  background: #f8f9fa;
}

.demo-container {
  max-width: 1200px;
  margin: 0 auto;
}

.demo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.demo-badge {
  display: inline-block;
  background: rgba(114, 94, 225, 0.1);
  color: #725EE1;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.demo-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1F1235;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.demo-description {
  font-size: 1.1rem;
  color: #505a63;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.demo-features {
  margin-bottom: 2rem;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-icon {
  font-size: 1.2rem;
}

.feature-text {
  color: #505a63;
  font-size: 1rem;
}

.demo-cta {
  display: inline-block;
  background: linear-gradient(90deg, #B840A9, #9B4CFF);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.demo-cta:hover {
  transform: translateY(-2px);
}

/* Phone Mockup */
.phone-mockup {
  max-width: 300px;
  margin: 0 auto;
}

.phone-screen {
  background: #1a1a1a;
  border-radius: 25px;
  padding: 2rem 1.5rem;
  min-height: 400px;
  position: relative;
}

.chat-message {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 15px;
  max-width: 80%;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-message.ai {
  background: #725EE1;
  color: white;
  margin-left: 0;
  border-bottom-left-radius: 5px;
}

.chat-message.customer {
  background: #e5e5ea;
  color: #1a1a1a;
  margin-left: auto;
  margin-right: 0;
  border-bottom-right-radius: 5px;
}

.chat-header {
  background: #725EE1;
  color: white;
  padding: 0.75rem;
  border-radius: 15px 15px 0 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  margin: -2rem -1.5rem 1rem -1.5rem;
}

.typing-indicator {
  padding: 0.75rem 1rem;
  margin-bottom: 0;
}

.typing-dots {
  display: flex;
  gap: 0.25rem;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Implementation Section */
.dealership-implementation {
  padding: 6rem 2rem;
  background: white;
}

.implementation-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.implementation-timeline {
  margin-top: 4rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: left;
}

.timeline-week {
  background: linear-gradient(135deg, #725EE1, #9277FF);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1F1235;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #505a63;
  line-height: 1.6;
}

/* CTA Section */
.dealership-cta {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  text-align: center;
}

.cta-container {
  max-width: 600px;
  margin: 0 auto;
}

.dealership-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.dealership-cta p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.primary-cta {
  background: linear-gradient(90deg, #B840A9, #9B4CFF);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.primary-cta:hover {
  transform: translateY(-2px);
}

.secondary-cta {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.secondary-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .dealership-hero .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .department-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .demo-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .primary-cta,
  .secondary-cta {
    width: 100%;
    max-width: 300px;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .department-title {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .dealership-hero {
    padding: 6rem 1rem 4rem;
  }
  
  .dealership-hero .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .problems-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .roi-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
