/* AI Unexpected Uses Specific Styles */

/* Hero Section */
.ai-unexpected-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.ai-unexpected-hero .hero-text h1 {
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.ai-unexpected-hero .article-category {
  background-color: rgba(255,255,255,0.2);
  color: white;
}

.ai-unexpected-hero .tag {
  background-color: rgba(255,255,255,0.15);
  color: white;
}

/* Story Sections */
.story-section {
  background: white;
  border-radius: 15px;
  margin: 40px 0;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  position: relative;
  border-left: 5px solid #667eea;
}

.featured-story {
  border-left: 5px solid #e74c3c;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.story-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #e74c3c;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.story-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.story-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: 24px;
  font-weight: bold;
  margin-right: 20px;
  box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.featured-story .story-number {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.story-header h2 {
  margin: 0;
  color: #2c3e50;
  font-size: 28px;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
}

/* Story Visual Elements */
.story-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
}

.visual-container {
  position: relative;
  width: 200px;
  height: 200px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 2px dashed #667eea;
}

.medical-scan {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
              linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
              linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
              linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  border-radius: 8px;
  position: relative;
}

.medical-scan::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, #667eea 0%, transparent 70%);
  opacity: 0.3;
  border-radius: 50%;
}

.diagnosis-overlay {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(231, 76, 60, 0.9);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

/* Lottery Visual */
.lottery-visual {
  text-align: center;
}

.lottery-balls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.ball {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.prize-amount {
  font-size: 24px;
  font-weight: bold;
  color: #27ae60;
  background: #d5f4e6;
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px dashed #27ae60;
}

/* Emotion Visual */
.emotion-visual {
  text-align: center;
}

.emotion-chart {
  position: relative;
  height: 100px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
}

.emotion-point {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.emotion-point::after {
  content: attr(data-emotion);
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  white-space: nowrap;
  color: #666;
}

.emotion-label {
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* Emergency Visual */
.emergency-visual {
  text-align: center;
}

.lock-diagram {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
}

.lock-part {
  position: absolute;
  background: #667eea;
  border-radius: 3px;
}

.lock-part.main {
  width: 60px;
  height: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.lock-part.spring {
  width: 5px;
  height: 30px;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  background: #e74c3c;
}

.lock-part.pin {
  width: 8px;
  height: 8px;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  background: #27ae60;
}

.tools {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.tools i {
  font-size: 24px;
  color: #667eea;
  background: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

/* Story Details */
.story-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.ai-model, .story-category, .impact-level {
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
}

.ai-model {
  background: #e3f2fd;
  color: #1976d2;
}

.story-category {
  background: #f3e5f5;
  color: #7b1fa2;
}

.impact-level {
  background: #ffebee;
  color: #c62828;
}

.story-narrative p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #555;
}

.quote-block {
  background: #f8f9fa;
  border-left: 4px solid #667eea;
  padding: 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.quote-block i.fa-quote-left {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #667eea;
  font-size: 20px;
  opacity: 0.3;
}

.quote-block p {
  margin: 0 0 10px 0;
  padding-left: 20px;
  font-style: italic;
}

.quote-block cite {
  color: #666;
  font-size: 14px;
  padding-left: 20px;
}

/* Stat Block */
.stat-block {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.stat-item {
  text-align: center;
  flex: 1;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.stat-value {
  font-size: 24px;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: #666;
}

/* Use Cases */
.use-cases {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 15px 0;
}

.use-case {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid #667eea;
}

.use-case i {
  color: #667eea;
  font-size: 16px;
}

/* Step by Step */
.step-by-step {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #27ae60;
}

.step-number {
  width: 30px;
  height: 30px;
  background: #27ae60;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

/* Outcome Note */
.outcome-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: #e8f5e8;
  border-radius: 8px;
  border: 1px solid #27ae60;
  margin: 15px 0;
}

.outcome-note i {
  color: #27ae60;
  font-size: 20px;
}

/* Why Brilliant Section */
.why-brilliant {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
}

.why-brilliant h4 {
  margin: 0 0 10px 0;
  color: #856404;
}

.why-brilliant p {
  margin: 0;
  color: #856404;
}

/* Creator Reaction */
.creator-reaction {
  text-align: center;
  margin: 20px 0;
}

.reaction-bubble {
  display: inline-block;
  background: white;
  border: 2px solid #667eea;
  border-radius: 20px;
  padding: 20px;
  position: relative;
  max-width: 300px;
}

.reaction-bubble i {
  font-size: 32px;
  color: #667eea;
  margin-bottom: 10px;
  display: block;
}

.reaction-bubble p {
  margin: 0 0 10px 0;
  font-style: italic;
  color: #555;
}

.reaction-bubble span {
  font-size: 12px;
  color: #666;
}

/* Stories Grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.story-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-top: 4px solid #667eea;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-number {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 30px;
  height: 30px;
  background: #667eea;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.card-content {
  margin-top: 10px;
}

.card-content h3 {
  margin: 0 0 10px 0;
  color: #2c3e50;
  font-size: 18px;
  line-height: 1.4;
}

.card-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.card-model, .card-category {
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: bold;
}

.card-model {
  background: #e3f2fd;
  color: #1976d2;
}

.card-category {
  background: #f3e5f5;
  color: #7b1fa2;
}

.card-content p {
  margin: 0 0 15px 0;
  color: #555;
  line-height: 1.5;
  font-size: 14px;
}

.card-impact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 12px;
  color: #666;
}

.card-impact i {
  color: #667eea;
}

/* Analysis Grid */
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.analysis-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-top: 4px solid #667eea;
}

.analysis-icon {
  font-size: 40px;
  color: #667eea;
  margin-bottom: 15px;
}

.analysis-card h3 {
  margin: 0 0 15px 0;
  color: #2c3e50;
  font-size: 18px;
}

.analysis-card p {
  margin: 0;
  color: #555;
  line-height: 1.5;
}

/* Trend Spotlight */
.trend-spotlight {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
}

.trend-spotlight h3 {
  margin: 0 0 25px 0;
  color: #2c3e50;
  text-align: center;
}

.trends-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trend-item {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.trend-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #667eea;
  color: white;
  border-radius: 15px;
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 10px;
}

.trend-item h4 {
  margin: 0 0 10px 0;
  color: #2c3e50;
}

.trend-item p {
  margin: 0;
  color: #555;
  line-height: 1.5;
}

/* Innovation Guide */
.innovation-guide {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 40px 0;
}

.innovation-step {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.step-visual {
  flex-shrink: 0;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin: 0 0 15px 0;
  color: #2c3e50;
}

.step-content p {
  margin: 0 0 15px 0;
  color: #555;
  line-height: 1.6;
}

.step-example {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #1976d2;
  font-size: 14px;
}

.step-example strong {
  color: #1976d2;
}

/* Safety Note */
.safety-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
}

.safety-note h4 {
  margin: 0 0 20px 0;
  color: #856404;
  display: flex;
  align-items: center;
  gap: 10px;
}

.safety-note h4 i {
  color: #856404;
}

.safety-points {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.safety-point {
  display: flex;
  align-items: center;
  gap: 15px;
}

.safety-point i {
  color: #856404;
  font-size: 18px;
  flex-shrink: 0;
}

.safety-point span {
  color: #856404;
  line-height: 1.5;
}

/* Future Vision */
.future-vision {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px;
  padding: 40px;
  margin: 40px 0;
  text-align: center;
}

.vision-content p {
  margin: 0 0 25px 0;
  font-size: 18px;
  line-height: 1.6;
}

.insight-quote {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
  position: relative;
  border: 1px solid rgba(255,255,255,0.2);
}

.insight-quote i.fa-quote-left {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 24px;
  opacity: 0.5;
}

.insight-quote p {
  margin: 0;
  font-size: 20px;
  font-style: italic;
  padding: 0 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .story-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .story-visual {
    min-height: 200px;
  }
  
  .story-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .story-number {
    margin-right: 0;
  }
  
  .stat-block {
    flex-direction: column;
    gap: 10px;
  }
  
  .innovation-step {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .step-icon {
    align-self: center;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
  }
  
  .analysis-grid {
    grid-template-columns: 1fr;
  }
  
  .future-vision {
    padding: 25px;
  }
  
  .insight-quote p {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .story-section {
    padding: 20px;
  }
  
  .story-header h2 {
    font-size: 22px;
  }
  
  .story-meta {
    justify-content: center;
  }
  
  .use-case {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
}