/* AI Tool Advisor - Main Stylesheet */

:root {
  --light-gray: #e2e2e2;
  --orange: #ff8300;
  --light-blue: #d5dae5;
  --dark-gray: #3d4147;
  --yellow: #f9be25;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

body {
  background-color: #f5f5f7;
  color: var(--dark-gray);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--dark-gray);
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.logo span {
  color: var(--orange);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--orange);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--dark-gray) 0%, #2a2d32 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.cta-button {
  display: inline-block;
  background-color: var(--orange);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #e67300;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 131, 0, 0.3);
}

/* Form Sections */
.form-section {
  padding: 60px 0;
  background-color: white;
}

.form-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: var(--dark-gray);
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-gray);
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  color: var(--dark-gray);
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(255, 131, 0, 0.1);
}

/* Use Case Selection */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.use-case-item {
  background-color: var(--light-blue);
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.use-case-item:hover {
  background-color: #c5cad5;
}

.use-case-item.selected {
  background-color: var(--orange);
  color: white;
}

.use-case-item i {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.prev-btn,
.next-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.prev-btn {
  background-color: var(--light-blue);
  color: var(--dark-gray);
}

.prev-btn:hover {
  background-color: #c5cad5;
}

.next-btn {
  background-color: var(--orange);
  color: white;
}

.next-btn:hover {
  background-color: #e67300;
}

/* Results Section */
.results-section {
  padding: 60px 0;
  background-color: var(--light-blue);
  display: none;
}

.results-section.active {
  display: block;
}

.results-container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.results-header {
  text-align: center;
  margin-bottom: 30px;
}

.results-header h2 {
  font-size: 32px;
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.results-header p {
  color: #666;
  font-size: 18px;
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.tab {
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 500;
  color: #666;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.tab:hover {
  color: var(--orange);
}

.tab.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Tool Recommendations */
.tool-list {
  margin-top: 20px;
}

.tool-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.tool-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.tool-icon i {
  font-size: 24px;
  color: var(--dark-gray);
}

.tool-info {
  flex-grow: 1;
}

.tool-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.tool-description {
  color: #666;
  margin-bottom: 10px;
  font-size: 14px;
}

.tool-price {
  font-weight: 500;
  color: var(--orange);
}

/* Cost Summary */
.cost-summary {
  background-color: var(--light-blue);
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
}

.cost-summary h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

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

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

.total-cost {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
  text-align: right;
}

/* Strategy Section */
.strategy-section {
  margin-top: 30px;
}

.strategy-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.strategy-card {
  background-color: white;
  border-left: 4px solid var(--yellow);
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.strategy-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark-gray);
}

.strategy-card p {
  color: #666;
}

/* Implementation Timeline */
.timeline {
  position: relative;
  margin: 30px 0;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: var(--light-blue);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--orange);
  border: 2px solid white;
}

.timeline-item h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.timeline-item p {
  color: #666;
}

/* Footer */
footer {
  background-color: var(--dark-gray);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-content p {
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.social-links a {
  color: white;
  margin: 0 10px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--orange);
}

.copyright {
  font-size: 14px;
  color: #aaa;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
  }
  
  nav ul {
    margin-top: 20px;
  }
  
  nav ul li {
    margin-left: 15px;
    margin-right: 15px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .use-cases {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .tool-card {
    flex-direction: column;
    text-align: center;
  }
  
  .tool-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .form-container {
    padding: 20px 15px;
  }
  
  .use-cases {
    grid-template-columns: 1fr 1fr;
  }
}
