/* About page - Terminal Aesthetic */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero */
.hero-section {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 60px 24px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-image {
  flex: 1;
  max-width: 500px;
}

.hero-image svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 38px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 16px rgba(0, 212, 255, 0.12));
}

/* Buttons */
.btn {
  padding: 14px 32px;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: #000000;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 212, 255, 0.3);
}

.btn-white {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-white:hover {
  background: transparent;
  transform: none;
  border-color: var(--primary-hover);
  color: var(--primary-hover);
}

/* Features */
.features-section {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--surface);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  animation: fadeInUp 0.6s ease-out backwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
  animation-delay: 0.6s;
}

.feature-card:nth-child(7) {
  animation-delay: 0.7s;
}

.feature-card:nth-child(8) {
  animation-delay: 0.8s;
}

.feature-card:nth-child(9) {
  animation-delay: 0.9s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.icon-primary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.icon-success {
  background: transparent;
  color: var(--success);
  border: 1px solid var(--success);
}

.icon-warning {
  background: transparent;
  color: var(--warning);
  border: 1px solid var(--warning);
}

.icon-info {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.icon-secondary {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}

.feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-description {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* How it works */
.how-it-works {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 50px 24px;
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.step {
  text-align: center;
  animation: fadeInUp 0.6s ease-out backwards;
}

.step:nth-child(1) {
  animation-delay: 0.1s;
}

.step:nth-child(2) {
  animation-delay: 0.2s;
}

.step:nth-child(3) {
  animation-delay: 0.3s;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #000000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.25);
}

.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.step-description {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA */
.cta-section {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 50px 40px;
  background: var(--primary);
  border-radius: 24px;
  text-align: center;
  color: #000000;
  animation: fadeInUp 0.8s ease-out;
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.25);
}

.cta-section .btn-white {
  background: rgba(13, 13, 18, 0.88);
  color: var(--text-main);
  border-color: rgba(230, 230, 240, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.cta-section .btn-white:hover {
  background: rgba(23, 23, 33, 0.98);
  color: #ffffff;
  border-color: rgba(230, 230, 240, 0.7);
  transform: translateY(-2px);
}

.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-description {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-image {
    max-width: 400px;
  }

  .cta-section,
  .how-it-works {
    margin-left: 24px;
    margin-right: 24px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-image {
    max-width: 350px;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid,
  .steps-container {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 40px 24px;
    margin-left: 24px;
    margin-right: 24px;
  }

  .cta-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 40px 20px;
  }

  .hero-image {
    max-width: 300px;
  }

  .feature-card {
    padding: 25px;
  }
}