/* ========================================
   O NAMA (ABOUT) PAGE STYLES
   ======================================== */

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--bg-surface);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-bounce);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Gradient top border accent */
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-10px);
  border-color: var(--glass-border);
  box-shadow:
    0 20px 50px rgba(0, 248, 207, 0.08),
    0 10px 30px rgba(0, 0, 0, 0.4);
  background: var(--bg-surface-solid);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 248, 207, 0.1),
    rgba(84, 90, 197, 0.1)
  );
  border: 1px solid rgba(0, 248, 207, 0.15);
  border-radius: 20px;
  color: var(--accent-color);
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

/* Story Section */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story-image {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--glass-border);
  position: relative;
  box-shadow:
    0 25px 60px rgba(0, 248, 207, 0.06),
    0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Glow behind image */
.story-image::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: var(--accent-gradient);
  z-index: -1;
  opacity: 0.2;
  filter: blur(15px);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s ease;
}

.story-image:hover img {
  transform: scale(1.05);
  filter: grayscale(0);
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 5rem 0;
  position: relative;
}

/* Glowing top/bottom lines */
.stats-bar::before,
.stats-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 248, 207, 0.3),
    rgba(84, 90, 197, 0.3),
    transparent
  );
}
.stats-bar::before {
  top: 0;
}
.stats-bar::after {
  bottom: 0;
}

.stat-item {
  position: relative;
}

.stat-item h3 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
}

.stat-item p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- O Nama Responsive ---- */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
