/* About Us page */

.about-loading {
  margin: 0;
  padding: 80px 24px;
  text-align: center;
  color: #666;
  width: 100%;
}

.about-hero,
.about-carousel {
  position: relative;
  min-height: 360px;
  height: clamp(320px, 38vw, 420px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #061029;
}

.about-slides {
  position: absolute;
  inset: 0;
}

.about-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  display: flex;
  align-items: center;
}

.about-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-left: max(20px, calc((100% - var(--container)) / 2));
  margin-right: auto;
  padding: 40px 24px;
}

.about-hero-content h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}

.about-hero-content p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  max-width: 420px;
}

.about-hero-btn {
  min-width: 120px;
  height: 40px;
  font-size: 14px;
  border-radius: 999px;
}

.about-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.about-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.about-dot.is-active {
  background: var(--brand, #0052d9);
  width: 20px;
  border-radius: 999px;
}

.about-carousel-prev,
.about-carousel-next {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.about-carousel-prev { left: 16px; }
.about-carousel-next { right: 16px; }

.about-carousel-prev::before,
.about-carousel-next::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
}

.about-carousel-prev::before { transform: rotate(-135deg); }
.about-carousel-next::before { transform: rotate(45deg); }


/* Intro */

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

.intro-copy h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.intro-copy h3 + p,
.intro-copy h3 + ul {
  margin-bottom: 28px;
}

.intro-copy p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.intro-copy ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.intro-media {
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-soft);
}

.intro-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 24px 12px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.stat-card strong {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.stat-card span {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Plans */

.about-plans {
  background: #f3f5f8;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plan-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

.plan-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.plan-cover {
  aspect-ratio: 415 / 294;
  overflow: hidden;
  background: #111;
}

.plan-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 20px 24px;
  flex: 1;
}

.plan-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.plan-body p {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

/* Features */

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  margin-bottom: 36px;
}

.feature-tab {
  position: relative;
  border: none;
  background: none;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s;
}

.feature-tab:hover {
  color: var(--text);
}

.feature-tab.is-active {
  color: var(--brand);
  font-weight: 600;
}

.feature-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand);
}

.feature-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  animation: fadeIn 0.35s ease;
}

.feature-panel.is-active {
  display: grid;
}

.feature-copy h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
}

.feature-copy p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.feature-media {
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-soft);
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

/* Bottom CTA */

.about-cta {
  text-align: center;
  padding-top: 56px;
  padding-bottom: 80px;
}

.about-cta h2 {
  margin: 0 0 28px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Responsive */

@media (max-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .feature-panel.is-active {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-tabs {
    gap: 20px 28px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 280px;
    height: auto;
    align-items: flex-end;
  }

  .about-hero-content {
    margin-left: 0;
    width: 100%;
    max-width: none;
    padding: 28px 20px 32px;
    background: linear-gradient(180deg, transparent, rgba(6, 16, 41, 0.88) 28%, rgba(6, 16, 41, 0.94));
  }

  .stat-cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    min-height: 96px;
    padding: 18px 10px;
  }

  .stat-card strong {
    font-size: 22px;
  }

  .feature-tabs {
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .feature-media img {
    min-height: 220px;
  }
}
