/* ============================================================
   ABOUT PAGE – Enovizen Digital Hub
   Design System: Purple gradient (#bc46a6), Poppins, 12px radius
   ============================================================ */

/* --- Shared Section Utilities --- */
.ab-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(188, 70, 166, 0.08);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(188, 70, 166, 0.12);
}

.ab-section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.ab-section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HERO SECTION ===== */
.ab-hero {
  margin-top: 70px;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.ab-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ab-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #faf5f9 0%, #f3e8f0 30%, #ede0f0 60%, #f8f4fb 100%);
}

.ab-hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(188, 70, 166, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 70, 166, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.ab-hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
}

.ab-hero__content {
  flex: 1;
  min-width: 0;
}

.ab-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(188, 70, 166, 0.08);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(188, 70, 166, 0.12);
}

.ab-hero__badge i {
  font-size: 12px;
}

.ab-hero__title {
  font-size: 44px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.ab-hero__title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ab-hero__subtitle {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 480px;
}

/* Hero Visual */
.ab-hero__visual {
  flex: 0 0 460px;
  position: relative;
}

.ab-hero__image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(188, 70, 166, 0.15);
}

.ab-hero__image-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.ab-hero__float-card {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  z-index: 3;
  animation: ab-float 3s ease-in-out infinite;
}

.ab-hero__float-card i {
  width: 40px;
  height: 40px;
  background: rgba(188, 70, 166, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

.ab-hero__float-card strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.ab-hero__float-card span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.ab-hero__float-card--top {
  top: 20px;
  right: -20px;
  animation-delay: 0s;
}

.ab-hero__float-card--bottom {
  bottom: 20px;
  left: -20px;
  animation-delay: 1.5s;
}

@keyframes ab-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== WHO WE ARE (INTRO) ===== */
.ab-intro {
  padding: 100px 0;
  background: var(--white);
}

.ab-intro__grid {
  display: flex;
  gap: 60px;
  align-items: center;
}

.ab-intro__image {
  flex: 0 0 420px;
  position: relative;
}

.ab-intro__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.ab-intro__accent {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 2px solid rgba(188, 70, 166, 0.2);
  top: 16px;
  left: 16px;
  z-index: 0;
}

.ab-intro__text {
  flex: 1;
  min-width: 0;
}

.ab-intro__text p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}

.ab-intro__highlights {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.ab-intro__highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--light-bg);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.ab-intro__highlight:hover {
  border-color: rgba(188, 70, 166, 0.2);
  box-shadow: 0 4px 16px rgba(188, 70, 166, 0.08);
}

.ab-intro__highlight-icon {
  width: 44px;
  height: 44px;
  background: rgba(188, 70, 166, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.ab-intro__highlight strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.ab-intro__highlight span {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== CORE VALUES ===== */
.ab-values {
  padding: 100px 0;
  background: var(--light-bg);
}

.ab-values__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 50px;
}

.ab-values__subtitle {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

.ab-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ab-value-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ab-value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(188, 70, 166, 0.12);
  border-color: rgba(188, 70, 166, 0.15);
}

.ab-value-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(188, 70, 166, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.ab-value-card:hover .ab-value-card__icon {
  background: var(--gradient);
  color: var(--white);
  transform: scale(1.08);
}

.ab-value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.ab-value-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== STATS SECTION ===== */
.ab-stats {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--dark), var(--dark-purple));
  position: relative;
  overflow: hidden;
}

.ab-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(188, 70, 166, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 70, 166, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.ab-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.ab-stat {
  text-align: center;
  padding: 20px;
}

.ab-stat__number {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  display: inline;
  line-height: 1;
}

.ab-stat__suffix {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-light);
  display: inline;
}

.ab-stat__label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  font-weight: 500;
}

/* ===== MISSION & VISION ===== */
.ab-mission {
  padding: 100px 0;
  background: var(--white);
}

.ab-mission__header {
  text-align: center;
  margin-bottom: 50px;
}

.ab-mission__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.ab-mission__card {
  background: var(--light-bg);
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ab-mission__card:hover {
  border-color: rgba(188, 70, 166, 0.2);
  box-shadow: 0 12px 40px rgba(188, 70, 166, 0.1);
}

.ab-mission__card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.ab-mission__card-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  flex-shrink: 0;
}

.ab-mission__card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}

.ab-mission__card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.ab-mission__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ab-mission__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.ab-mission__list li i {
  width: 22px;
  height: 22px;
  background: rgba(188, 70, 166, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ===== WHY CHOOSE US ===== */
.ab-why {
  padding: 100px 0;
  background: var(--light-bg);
}

.ab-why__grid {
  display: flex;
  gap: 60px;
  align-items: center;
}

.ab-why__text {
  flex: 1;
  min-width: 0;
}

.ab-why__text > p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.ab-why__features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ab-why__feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.ab-why__feature:hover {
  border-color: rgba(188, 70, 166, 0.2);
  box-shadow: 0 4px 16px rgba(188, 70, 166, 0.08);
}

.ab-why__feature-num {
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1.3;
}

.ab-why__feature strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.ab-why__feature p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.ab-why__visual {
  flex: 0 0 400px;
  position: relative;
}

.ab-why__visual img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.ab-why__accent {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 2px solid rgba(188, 70, 166, 0.2);
  top: 16px;
  right: -16px;
  z-index: 0;
}

/* ===== CTA SECTION ===== */
.ab-cta {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.ab-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ab-cta__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-purple) 100%);
}

.ab-cta__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(188, 70, 166, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 70, 166, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.ab-cta__container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.ab-cta__container h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.ab-cta__container p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 32px;
}

.ab-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.ab-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.ab-cta__btn--primary {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
}

.ab-cta__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(188, 70, 166, 0.35);
}

.ab-cta__btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.ab-cta__btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ===== SCROLL ANIMATIONS ===== */
.ab-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.ab-animate--visible {
  opacity: 1;
  transform: translateY(0);
}

.ab-animate--delay-1 { transition-delay: 0.1s; }
.ab-animate--delay-2 { transition-delay: 0.2s; }
.ab-animate--delay-3 { transition-delay: 0.3s; }
.ab-animate--delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .ab-hero__container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .ab-hero__subtitle {
    max-width: 100%;
    margin: 0 auto;
  }

  .ab-hero__visual {
    flex: none;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }

  .ab-hero__badge {
    margin: 0 auto 20px;
  }

  .ab-intro__grid {
    flex-direction: column;
    gap: 40px;
  }

  .ab-intro__image {
    flex: none;
    width: 100%;
  }

  .ab-intro__image img {
    height: 360px;
  }

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

  .ab-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .ab-mission__grid {
    grid-template-columns: 1fr;
  }

  .ab-why__grid {
    flex-direction: column;
    gap: 40px;
  }

  .ab-why__visual {
    flex: none;
    width: 100%;
    order: -1;
  }

  .ab-why__visual img {
    height: 350px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .ab-hero {
    padding: 60px 0 40px;
    min-height: auto;
  }

  .ab-hero__title {
    font-size: 32px;
  }

  .ab-hero__subtitle {
    font-size: 15px;
  }

  .ab-hero__float-card--top {
    right: 10px;
    top: 10px;
  }

  .ab-hero__float-card--bottom {
    left: 10px;
    bottom: 10px;
  }

  .ab-hero__image-wrapper img {
    height: 280px;
  }

  .ab-section-title {
    font-size: 28px;
  }

  .ab-intro {
    padding: 60px 0;
  }

  .ab-intro__image img {
    height: 280px;
  }

  .ab-intro__accent {
    display: none;
  }

  .ab-values {
    padding: 60px 0;
  }

  .ab-values__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ab-value-card {
    padding: 28px 24px;
  }

  .ab-stats {
    padding: 50px 0;
  }

  .ab-stat__number {
    font-size: 36px;
  }

  .ab-stat__suffix {
    font-size: 28px;
  }

  .ab-mission {
    padding: 60px 0;
  }

  .ab-mission__card {
    padding: 28px 24px;
  }

  .ab-why {
    padding: 60px 0;
  }

  .ab-why__visual img {
    height: 260px;
  }

  .ab-why__accent {
    display: none;
  }

  .ab-cta__container h2 {
    font-size: 26px;
  }

  .ab-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .ab-cta__btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .ab-hero__title {
    font-size: 26px;
  }

  .ab-hero__float-card {
    padding: 10px 14px;
  }

  .ab-hero__float-card strong {
    font-size: 15px;
  }

  .ab-hero__float-card span {
    font-size: 11px;
  }

  .ab-section-title {
    font-size: 24px;
  }

  .ab-stat__number {
    font-size: 30px;
  }

  .ab-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .ab-animate {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .ab-hero__float-card {
    animation: none;
  }

  .ab-value-card,
  .ab-mission__card,
  .ab-why__feature,
  .ab-intro__highlight {
    transition: none;
  }
}
