/* AI Search Research Center Styles
   Consistent with Infiknowledge brand and zero-click recovery messaging */

/* Hero Section */
.research-hero {
  background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
  color: white;
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.research-hero .breadcrumbs {
  margin-bottom: 2rem;
}

.research-hero .breadcrumbs ol {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

.research-hero .breadcrumbs li {
  font-size: 0.9rem;
}

.research-hero .breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin: 0 0.5rem;
  opacity: 0.7;
}

.research-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.research-hero .breadcrumbs a:hover {
  color: white;
  text-decoration: underline;
}

.research-hero .breadcrumbs li[aria-current="page"] {
  color: white;
  font-weight: 500;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
}

.hero-text .lead {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-text .highlight {
  background: rgba(28, 200, 138, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
  color: #1cc88a;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

.hero-image {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* Main Content Area */
.main-content {
  padding-bottom: 4rem;
}

/* Research Grid */
.research-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.research-section {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.research-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2d3748;
  margin-top: 0;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.research-section h2::before {
  content: '';
  width: 30px;
  height: 4px;
  background: linear-gradient(90deg, #4e73df, #36b9cc);
  border-radius: 2px;
}

/* Research Cards */
.research-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.research-card {
  padding: 2rem;
  border-radius: 12px;
  background: #f8f9fc;
  border-left: 4px solid #4e73df;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.research-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.new {
  background-color: #1cc88a;
  color: white;
}

.research-card h3 {
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1rem;
}

.research-card p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: #4e73df;
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #2e59d9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 89, 217, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: #4e73df;
  border: 2px solid #4e73df;
}

.btn-outline:hover {
  background-color: #4e73df;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 89, 217, 0.2);
}

/* Concept Grid */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.concept-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: #f8f9fc;
  border-bottom: 3px solid #4e73df;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.concept-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.concept-card h3 {
  font-size: 1.2rem;
  color: #2d3748;
  margin-top: 0;
  margin-bottom: 1rem;
}

.concept-card p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.concept-card a {
  color: #4e73df;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.concept-card a:hover {
  color: #2e59d9;
  text-decoration: underline;
}

/* Impact Chart Section */
.impact-intro {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2d3748;
}

.impact-chart-container {
  background-color: #f8f9fc;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.recovery-chart {
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-radius: 8px;
}

.impact-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
}

.legend-color {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  border-radius: 3px;
}

.impact-container {
  margin-bottom: 2rem;
}

/* Recovery Stats Styling */
.recovery-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.stat-box {
  background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(78, 115, 223, 0.2);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(78, 115, 223, 0.3);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Article List */
.article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.article-item {
  padding: 2rem;
  border-radius: 12px;
  background: #f8f9fc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.article-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #718096;
}

.article-item h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3748;
  margin-top: 0;
  margin-bottom: 1rem;
}

.article-stats {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: #718096;
}

.article-stats span i {
  margin-right: 0.5rem;
  color: #4e73df;
}

/* Case Studies */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 100%;
}

.case-study {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.case-study:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.case-study-content {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.case-study-icon {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f4ff;
  border-radius: 8px;
  overflow: hidden;
}

.case-study-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.case-study-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-study-header {
  margin-bottom: 1rem;
}

.case-study-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  color: #2d3748;
  line-height: 1.3;
}

.industry-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: #4e73df;
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.case-study-text {
  margin-bottom: 1.5rem;
}

.case-study-text p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background-color: #f8faff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(78, 115, 223, 0.1);
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #4e73df;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.85rem;
  color: #5a6783;
  font-weight: 500;
  line-height: 1.2;
}

/* Zero-Click Recovery Callout */
.recovery-callout {
  margin-top: 3rem;
  background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
  border-radius: 12px;
  color: white;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.callout-icon {
  font-size: 3rem;
  background: rgba(255, 255, 255, 0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.callout-content h3 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.callout-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  opacity: 0.9;
}

.btn-light {
  background-color: white;
  color: #4e73df;
  border: none;
}

.btn-light:hover {
  background-color: #f8f9fc;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.25);
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
  color: white;
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
}

.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
}

.newsletter-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-text {
    order: 1;
  }
  
  .hero-image {
    order: 0;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .research-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .concept-grid, .case-studies-grid {
    grid-template-columns: 1fr;
  }
  
  .research-section {
    padding: 1.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-item {
    width: 100%;
    max-width: 200px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input, 
  .newsletter-form button {
    width: 100%;
  }
  
  .metrics-row {
    flex-direction: column;
  }
}
