/* Additional responsive styles */

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Architecture diagram responsive styling */
.architecture-diagram {
  margin: 30px 0;
  text-align: center;
}

.placeholder-image {
  background-color: #f0f0f0;
  height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 1.2rem;
  border-radius: 10px;
}

/* AI Components responsive styling */
.ai-components, .devops-components {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.ai-component, .devops-component {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  transition: transform 0.3s ease;
}

.ai-component:hover, .devops-component:hover {
  transform: translateY(-5px);
}

.ai-component {
  display: flex;
  align-items: flex-start;
}

.ai-component-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-right: 20px;
  padding-top: 5px;
}

.ai-component-content {
  flex: 1;
}

/* UI Components responsive styling */
.ui-components {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.ui-component {
  display: flex;
  align-items: flex-start;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  transition: transform 0.3s ease;
}

.ui-component:hover {
  transform: translateY(-5px);
}

.ui-component-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-right: 20px;
  padding-top: 5px;
}

.ui-component-content {
  flex: 1;
}

/* Workflow diagram responsive styling */
.workflow-diagram {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 30px;
}

.workflow-phase {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.workflow-phase-header {
  background-color: var(--primary-color);
  color: white;
  padding: 15px 20px;
}

.workflow-phase-header h3 {
  margin: 0;
  color: white;
}

.workflow-phase-steps {
  padding: 20px;
}

.workflow-step {
  display: flex;
  margin-bottom: 20px;
}

.workflow-step:last-child {
  margin-bottom: 0;
}

.workflow-step-number {
  width: 30px;
  height: 30px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 15px;
  flex-shrink: 0;
}

.workflow-step-content {
  flex: 1;
}

.workflow-step-content h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Tech implementation responsive styling */
.tech-implementation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.tech-section {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  transition: transform 0.3s ease;
}

.tech-section:hover {
  transform: translateY(-5px);
}

.tech-section h3 {
  margin-top: 0;
}

/* Deployment options responsive styling */
.deployment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.deployment-option {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.deployment-option:hover {
  transform: translateY(-10px);
}

.deployment-option-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.deployment-option h3 {
  margin-bottom: 20px;
}

.deployment-option ul {
  text-align: left;
  padding-left: 20px;
}

.deployment-option li {
  margin-bottom: 10px;
}

/* Business model page responsive styling */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.value-prop {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.value-prop:hover {
  transform: translateY(-10px);
}

.value-prop-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.revenue-streams {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.revenue-stream {
  display: flex;
  align-items: flex-start;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  transition: transform 0.3s ease;
}

.revenue-stream:hover {
  transform: translateY(-5px);
}

.revenue-stream-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-right: 20px;
  padding-top: 5px;
}

.revenue-stream-content {
  flex: 1;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.pricing-tier {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.pricing-tier:hover {
  transform: translateY(-10px);
}

.pricing-tier.featured {
  border: 2px solid var(--secondary-color);
  transform: scale(1.05);
}

.pricing-tier.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-tier-header {
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  text-align: center;
}

.pricing-tier-header h3 {
  margin: 0 0 10px;
  color: white;
}

.pricing-tier-price {
  font-size: 1.8rem;
  font-weight: 700;
}

.pricing-tier-period {
  font-size: 0.9rem;
  opacity: 0.8;
}

.pricing-tier-body {
  padding: 20px;
}

.pricing-tier-target {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.additional-revenue {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-top: 30px;
}

.revenue-projections, .cost-structure {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.revenue-period, .cost-period {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.revenue-details, .cost-details {
  margin-top: 20px;
}

.revenue-item, .cost-item, .profitability-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.revenue-item:last-child, .cost-item:last-child, .profitability-item:last-child {
  border-bottom: none;
}

.revenue-item.total, .cost-item.total, .profitability-item.total {
  font-weight: 700;
  border-top: 2px solid #eee;
  margin-top: 10px;
  padding-top: 15px;
}

.revenue-item.grand-total {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.profitability-analysis {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-top: 30px;
}

.funding-requirements {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-top: 30px;
}

/* Touch-friendly improvements */
@media (hover: none) {
  .btn, .tab-btn, .feature-card, .team-member, .challenge-item, .stat-item, 
  .ai-component, .devops-component, .ui-component, .tech-section, .deployment-option,
  .value-prop, .revenue-stream, .pricing-tier {
    transition: none;
  }
  
  .btn:active {
    background-color: #2980b9;
    transform: translateY(-3px);
  }
  
  .feature-card:active, .team-member:active, .challenge-item:active, .stat-item:active,
  .ai-component:active, .devops-component:active, .ui-component:active, .tech-section:active,
  .deployment-option:active, .value-prop:active, .revenue-stream:active, .pricing-tier:active {
    transform: translateY(-5px);
  }
}

/* Additional responsive breakpoints */
@media screen and (max-width: 1200px) {
  .pricing-tier.featured {
    transform: none;
  }
  
  .pricing-tier.featured:hover {
    transform: translateY(-10px);
  }
}

@media screen and (max-width: 991px) {
  .ai-component, .ui-component {
    flex-direction: column;
  }
  
  .ai-component-icon, .ui-component-icon {
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .workflow-step {
    flex-direction: column;
  }
  
  .workflow-step-number {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 768px) {
  .placeholder-image {
    height: 200px;
  }
  
  .pricing-tier-price {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 576px) {
  .placeholder-image {
    height: 150px;
  }
  
  .revenue-item, .cost-item, .profitability-item {
    flex-direction: column;
  }
  
  .revenue-item-value, .cost-item-value, .profitability-item-value {
    margin-top: 5px;
    font-weight: 700;
  }
}
