/* ============================================================
   About — dark theme
   Two-column layout: image on one side, content + 2x2
   feature grid on the other. Dark surface, soft borders.
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(2, 12, 30, 0.35));
  pointer-events: none;
}
.about-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-content .overline {
  margin-bottom: 14px;
}
.about-content h2 {
  margin-bottom: 18px;
  color: var(--color-text);
}
.about-content > p {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-feature {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}
.about-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), #ff8b4a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms ease;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.about-feature:hover {
  transform: translateY(-3px);
  border-color: var(--color-border);
  background: var(--color-surface-2);
  box-shadow: var(--shadow-md);
}
.about-feature:hover::before {
  transform: scaleX(1);
}
.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--color-border-light);
  transition: transform 280ms ease, color 280ms ease;
}
.about-feature:hover .about-feature-icon {
  transform: scale(1.06) rotate(-4deg);
}
.about-feature-icon svg {
  width: 22px;
  height: 22px;
}
.about-feature h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.about-feature p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

html[dir="rtl"] .about-grid {
  direction: ltr;
}
html[dir="rtl"] .about-content {
  direction: rtl;
  text-align: right;
}
html[dir="rtl"] .about-content .overline {
  display: block;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image img {
    height: 320px;
  }
}
@media (max-width: 640px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}
