/* Axford AI Index Page Styles */

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #2c3338 0%, #5b7c99 50%, #8aa3ba 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-logo {
  height: 120px;
  margin-bottom: 3rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: white;
  color: #2c3338;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  background-color: #f8f9fa;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  padding: 1rem 2.5rem;
  border: 2px solid white;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: white;
  color: #2c3338;
  transform: translateY(-2px);
}

/* Section Styles */
.section {
  padding: 5rem 2rem;
}

.section-light {
  background-color: #ffffff;
}

.section-gray {
  background-color: #f8f9fa;
}

.section-dark {
  background-color: #2c3338;
  color: white;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #2c3338;
}

.section-dark .section-title {
  color: white;
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: #6c757d;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.principle-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.principle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.principle-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #5b7c99, #8aa3ba);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.principle-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.principle-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3338;
  margin-bottom: 1rem;
}

.principle-description {
  color: #6c757d;
  line-height: 1.6;
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.solution-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #5b7c99;
  display: block;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-left-color: #8aa3ba;
}

/* Ensure linked cards maintain text styling */
a.solution-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.solution-card:visited {
  color: inherit;
}

.solution-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.solution-icon {
  width: 60px;
  height: 60px;
  background: #f8f9fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.solution-icon svg {
  width: 32px;
  height: 32px;
  stroke: #5b7c99;
  fill: none;
  stroke-width: 2;
}

.solution-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3338;
  margin-bottom: 0.5rem;
}

.solution-description {
  color: #6c757d;
  line-height: 1.6;
}

/* Demo component links */
.demo-links-container {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.demo-links-label {
  font-weight: 600;
  color: #5b7c99;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.demo-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #f3f4f6;
  border-radius: 6px;
  text-decoration: none;
  color: #2c3338;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.demo-link:hover {
  background-color: #5b7c99;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(91, 124, 153, 0.2);
}

/* Tech Stack */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.tech-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.tech-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #5b7c99;
  margin-bottom: 0.5rem;
}

.tech-description {
  color: #6c757d;
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #5b7c99, #8aa3ba);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.btn-cta {
  background-color: white;
  color: #2c3338;
  padding: 1.2rem 3rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  background-color: #2c3338;
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.footer-logo {
  height: 60px;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.footer-text {
  margin-bottom: 0.5rem;
}

.footer-small {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-logo {
    height: 80px;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  .principles-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }
}
