/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE — Professional Redesign
   ═══════════════════════════════════════════════════════════ */

/* ── Shared utilities ─────────────────────────────────────── */
.ab-gradient-text {
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ab-label {
  display: inline-block;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #7c3aed; background: #ede9fe; padding: 4px 14px; border-radius: 20px;
  margin-bottom: 1rem;
}
.ab-label--white { color: rgba(255,255,255,.85); background: rgba(255,255,255,.15); }

/* ── Reveal animation ─────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.ab-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4c1d95 100%);
  padding: 9rem 0 7rem;
  min-height: 88vh; display: flex; flex-direction: column; justify-content: center;
}
.ab-hero-bg { position: absolute; inset: 0; pointer-events: none; }

.ab-hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45;
}
.ab-orb1 { width: 500px; height: 500px; background: #7c3aed; top: -120px; left: -80px; }
.ab-orb2 { width: 400px; height: 400px; background: #2563eb; bottom: -100px; right: -60px; }
.ab-orb3 { width: 300px; height: 300px; background: #0ea5e9; top: 40%; left: 55%; opacity: .3; }

.ab-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.ab-hero-inner {
  position: relative; z-index: 2; text-align: center;
}
.ab-hero-inner .ab-label { margin-bottom: 1.5rem; }

.ab-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; letter-spacing: -.04em;
  color: #fff; line-height: 1.15; margin: 0 0 1.5rem;
}
.ab-hero-sub {
  font-size: clamp(.95rem, 2vw, 1.2rem); color: rgba(255,255,255,.75);
  max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.75;
}
.ab-hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.ab-btn-primary {
  padding: .875rem 2.25rem; border-radius: 50px; font-size: .95rem; font-weight: 700;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff; text-decoration: none; letter-spacing: -.01em;
  box-shadow: 0 6px 24px rgba(124,58,237,.45);
  transition: transform .2s, box-shadow .2s;
}
.ab-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(124,58,237,.55); }

.ab-btn-ghost {
  padding: .875rem 2.25rem; border-radius: 50px; font-size: .95rem; font-weight: 700;
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
  color: #fff; text-decoration: none; border: 1.5px solid rgba(255,255,255,.2);
  transition: background .2s, border-color .2s, transform .2s;
}
.ab-btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

.ab-hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; line-height: 0;
}
.ab-hero-wave svg { width: 100%; height: 80px; display: block; }

/* ══════════════════════════════════════════════════════════
   STATS
══════════════════════════════════════════════════════════ */
.ab-stats {
  background: #f8f9ff; padding: 4rem 0;
}
.ab-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.ab-stat-card {
  background: #fff; border-radius: 18px; padding: 2rem 1.5rem;
  text-align: center; border: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: transform .25s, box-shadow .25s;
}
.ab-stat-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(79,70,229,.12); }
.ab-stat-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.ab-stat-icon svg { width: 22px; height: 22px; color: #7c3aed; stroke: #7c3aed; }
.ab-stat-num {
  font-size: 2.5rem; font-weight: 900; letter-spacing: -.04em;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: .3rem;
}
.ab-stat-label { font-size: .82rem; font-weight: 600; color: #6b7280; }

/* ══════════════════════════════════════════════════════════
   STORY
══════════════════════════════════════════════════════════ */
.ab-story { background: #fff; padding: 6rem 0; }
.ab-story-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}

/* Slider */
.ab-slider-wrap { position: relative; }
.ab-slider {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(79,70,229,.18);
  aspect-ratio: 16/10;
}
.ab-slide-track {
  display: flex; height: 100%;
  transition: transform .6s cubic-bezier(.25,1,.5,1);
}
.ab-slide { min-width: 100%; height: 100%; }
.ab-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ab-slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.95); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.18); z-index: 10;
  transition: background .2s, transform .2s;
}
.ab-slide-btn svg { width: 20px; height: 20px; color: #4f46e5; }
.ab-slide-btn:hover { background: #4f46e5; transform: translateY(-50%) scale(1.08); }
.ab-slide-btn:hover svg { color: #fff; }
.ab-slide-prev { left: 16px; }
.ab-slide-next { right: 16px; }

.ab-slide-dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.ab-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.55); cursor: pointer; transition: all .3s;
}
.ab-dot.active { background: #fff; width: 24px; border-radius: 4px; }

/* Story text */
.ab-story-text h2 {
  font-size: 2rem; font-weight: 800; letter-spacing: -.03em;
  color: #111827; line-height: 1.25; margin: 0 0 1.25rem;
}
.ab-story-text p { font-size: .95rem; line-height: 1.85; color: #6b7280; margin-bottom: .875rem; }

.ab-story-points { display: flex; flex-direction: column; gap: .625rem; margin-top: 1.75rem; }
.ab-point { display: flex; align-items: center; gap: .75rem; }
.ab-point-icon {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex; align-items: center; justify-content: center;
}
.ab-point-icon svg { width: 13px; height: 13px; color: #fff; stroke: #fff; }
.ab-point span { font-size: .88rem; font-weight: 600; color: #374151; }

/* ══════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════ */
.ab-features { background: #f8f9ff; padding: 6rem 0; }
.ab-section-head { text-align: center; margin-bottom: 3.5rem; }
.ab-section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em;
  color: #111827; margin: 0 0 .875rem;
}
.ab-section-head p { font-size: .975rem; color: #6b7280; max-width: 520px; margin: 0 auto; }

.ab-features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.ab-feat-card {
  background: #fff; border-radius: 20px; padding: 2rem 1.75rem;
  border: 1px solid #e5e7eb; position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ab-feat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed); opacity: 0;
  transition: opacity .25s;
}
.ab-feat-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(79,70,229,.1); border-color: #c4b5fd; }
.ab-feat-card:hover::before { opacity: 1; }

.ab-feat-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.ab-feat-icon svg { width: 26px; height: 26px; }
.ab-feat-icon--purple { background: #ede9fe; }
.ab-feat-icon--purple svg { color: #7c3aed; stroke: #7c3aed; }
.ab-feat-icon--blue { background: #dbeafe; }
.ab-feat-icon--blue svg { color: #2563eb; stroke: #2563eb; }
.ab-feat-icon--green { background: #dcfce7; }
.ab-feat-icon--green svg { color: #16a34a; stroke: #16a34a; }
.ab-feat-icon--orange { background: #ffedd5; }
.ab-feat-icon--orange svg { color: #ea580c; stroke: #ea580c; }

.ab-feat-card h3 { font-size: 1.05rem; font-weight: 800; color: #111827; margin: 0 0 .6rem; }
.ab-feat-card p { font-size: .875rem; line-height: 1.75; color: #6b7280; margin: 0 0 1.25rem; }

.ab-feat-tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 12px; border-radius: 20px;
  background: #ede9fe; color: #7c3aed;
}
.ab-feat-tag--blue  { background: #dbeafe; color: #2563eb; }
.ab-feat-tag--green { background: #dcfce7; color: #16a34a; }
.ab-feat-tag--orange{ background: #ffedd5; color: #ea580c; }

/* ══════════════════════════════════════════════════════════
   WHY + VISION
══════════════════════════════════════════════════════════ */
.ab-why { background: #fff; padding: 6rem 0; }
.ab-why-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start;
}

/* Why card */
.ab-why-card {
  background: #f8f9ff; border: 1px solid #e5e7eb;
  border-radius: 24px; padding: 2.75rem;
}
.ab-why-icon {
  width: 56px; height: 56px; border-radius: 18px;
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.ab-why-icon svg { width: 28px; height: 28px; color: #7c3aed; stroke: #7c3aed; }
.ab-why-card h2 {
  font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em;
  color: #111827; line-height: 1.25; margin: 0 0 1.75rem;
}
.ab-why-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .875rem; }
.ab-why-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9rem; color: #374151; line-height: 1.65;
}
.ab-why-list li::before {
  content: '';
  flex-shrink: 0; margin-top: 5px;
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}

/* Vision card */
.ab-vision-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
  border-radius: 24px; padding: 2.75rem; position: relative; overflow: hidden;
}
.ab-vision-quote { position: absolute; top: 1.5rem; right: 1.75rem; }
.ab-vision-quote svg { width: 56px; height: 42px; color: #fff; fill: #fff; }
.ab-vision-card h2 {
  font-size: 1.65rem; font-weight: 800; letter-spacing: -.03em;
  color: #fff; line-height: 1.25; margin: 0 0 1rem; position: relative; z-index: 1;
}
.ab-vision-card p {
  font-size: .9rem; line-height: 1.8; color: rgba(255,255,255,.75);
  margin: 0 0 1.5rem; position: relative; z-index: 1;
}
.ab-vision-divider {
  height: 1px; background: rgba(255,255,255,.15); margin: 1.75rem 0;
}
.ab-vision-cta {
  display: inline-block; margin-top: 1.25rem;
  padding: .8rem 2rem; border-radius: 50px; font-size: .9rem; font-weight: 700;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  color: #fff; text-decoration: none; border: 1.5px solid rgba(255,255,255,.25);
  transition: background .2s, transform .2s;
}
.ab-vision-cta:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════
   FINAL CTA
══════════════════════════════════════════════════════════ */
.ab-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  padding: 7rem 0;
}
.ab-cta-bg { position: absolute; inset: 0; pointer-events: none; }
.ab-cta-orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35;
}
.ab-cta-orb1 { width: 450px; height: 450px; background: #7c3aed; top: -100px; left: -80px; }
.ab-cta-orb2 { width: 350px; height: 350px; background: #2563eb; bottom: -80px; right: -60px; }

.ab-cta-inner { position: relative; z-index: 2; text-align: center; }
.ab-cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.04em;
  color: #fff; line-height: 1.2; margin: 0 0 1.25rem;
}
.ab-cta-inner p { font-size: 1rem; color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.75; }
.ab-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.ab-cta-btn-primary {
  padding: .9rem 2.5rem; border-radius: 50px; font-size: .95rem; font-weight: 700;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff; text-decoration: none;
  box-shadow: 0 8px 28px rgba(124,58,237,.45);
  transition: transform .2s, box-shadow .2s;
}
.ab-cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(124,58,237,.55); }

.ab-cta-btn-ghost {
  padding: .9rem 2.5rem; border-radius: 50px; font-size: .95rem; font-weight: 700;
  background: transparent; color: #fff; text-decoration: none;
  border: 2px solid rgba(255,255,255,.25);
  transition: border-color .2s, background .2s, transform .2s;
}
.ab-cta-btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ab-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ab-hero { padding: 7rem 0 5rem; min-height: auto; }
  .ab-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-story-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .ab-features-grid { grid-template-columns: 1fr; }
  .ab-why-inner { grid-template-columns: 1fr; }
  .ab-why-card, .ab-vision-card { padding: 2rem; }
}

@media (max-width: 480px) {
  .ab-stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .ab-stat-card { padding: 1.5rem 1rem; }
  .ab-stat-num { font-size: 2rem; }
  .ab-hero-actions, .ab-cta-actions { flex-direction: column; align-items: center; }
}

/* ── RTL ──────────────────────────────────────────────────── */
[dir="rtl"] .ab-slide-prev { left: auto; right: 16px; }
[dir="rtl"] .ab-slide-next { right: auto; left: 16px; }
[dir="rtl"] .ab-point { flex-direction: row-reverse; }
[dir="rtl"] .ab-why-list li { flex-direction: row-reverse; }
[dir="rtl"] .ab-vision-quote { right: auto; left: 1.75rem; }

/* ══ Directory band ══ */
.ab-dir-band { padding: 40px 0 80px; }
.ab-dir-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  background: linear-gradient(135deg, #f0f4ff, #ffffff);
  border: 1px solid #e5e9f5;
  border-radius: 24px;
  padding: 2.5rem 3rem;
  box-shadow: 0 12px 40px rgba(15,22,40,0.08);
}
.ab-dir-band-text { max-width: 560px; }
.ab-dir-band-text h2 { font-size: 1.6rem; font-weight: 800; margin: 0.5rem 0; letter-spacing: -0.02em; }
.ab-dir-band-text p { color: #6b7498; }
@media (max-width: 700px) {
  .ab-dir-band-inner { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
}
