/**
 * OFO Development Website - Card Component Styles
 * Contains styles for various cards and UI elements
 */

/* Glassmorphism effects */
.glass-card {
  background: rgba(25, 25, 35, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

/* Value proposition cards */
.value-card {
  position: relative;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 0.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.value-card .icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.value-card .icon svg {
  width: 2rem;
  height: 2rem;
  color: #ffd700;
}

.value-card .progress-bar {
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 1.5rem;
  overflow: hidden;
  position: relative;
}

.value-card .progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 85%;
  background: linear-gradient(45deg, #ffd700, #ffa500);
  border-radius: 2px;
}

.value-card:nth-child(2) .progress-bar::after {
  width: 90%;
}

.value-card:nth-child(3) .progress-bar::after {
  width: 95%;
}

/* Counter item */
.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: rgba(25, 25, 35, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: all 0.3s ease;
}

.counter-item:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-5px);
}

.counter-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Technology card */
.tech-card {
  background: rgba(25, 25, 35, 0.5);
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.tech-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tech-card-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: #ffd700;
}

/* Case study card */
.case-study-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: all 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.case-study-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.case-study-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* Process steps */
.process-step {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(45deg, #ffd700, #ffa500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #121212;
}

.process-step::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 2.5rem;
  width: 1px;
  height: calc(100% - 1rem);
  background: linear-gradient(to bottom, #ffd700, transparent);
}

.process-step:last-child::after {
  display: none;
}

/* Feature list with premium styling */
.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(45deg, #ffd700, #ffa500);
  border-radius: 50%;
  color: #121212;
  font-weight: bold;
  font-size: 0.875rem;
}

/* Reading progress indicator */
.progress-container {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 4px;
  background: transparent;
}

.progress-bar-indicator {
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ffa500);
  width: 0%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .value-card,
  .counter-item,
  .tech-card,
  .case-study-card {
    padding: 1.5rem;
  }
  
  .feature-list li {
    margin-bottom: 1rem;
  }
}
