/* ===== About Page ===== */
.about-page {
  padding-top: 100px;
  min-height: 100vh;
  background: var(--dark-900);
  overflow-x: hidden;
}

/* Hero */
.about-hero {
  position: relative;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.about-hero .logo-float {
  width: 80px;
  margin: 0 auto 1.5rem;
  animation: floatLogo 3s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.about-hero h1 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.about-hero h1 .gold { color: var(--gold); }
.about-hero .tagline {
  font-size: 1.3rem;
  color: var(--dark-300);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Stats Bar */
.about-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2.5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto 1rem;
}
.about-stat {
  text-align: center;
  position: relative;
}
.about-stat::after {
  content: '';
  position: absolute;
  left: -1.25rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--dark-600);
}
.about-stat:last-child::after { display: none; }
.about-stat .number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.about-stat .label {
  font-size: 0.9rem;
  color: var(--dark-300);
  font-weight: 600;
}

/* Section Container */
.about-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Story Section */
.story-section {
  position: relative;
}
.story-card {
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.story-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.story-card h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.story-card h2 span { color: var(--gold); }
.story-card p {
  color: var(--dark-200);
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 1rem;
}
.story-card p:last-child { margin-bottom: 0; }

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  border-color: rgba(212,175,55,0.3);
}
.value-card:hover::after { opacity: 1; }
.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(212,175,55,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  transition: transform 0.3s;
}
.value-card:hover .value-icon { transform: scale(1.1); }
.value-icon svg { width: 28px; height: 28px; color: var(--gold); }
.value-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.value-card p {
  color: var(--dark-300);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Services Row */
.services-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-item {
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s, border-color 0.3s;
}
.service-item:hover {
  transform: translateX(-4px);
  border-color: rgba(212,175,55,0.3);
}
.service-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(212,175,55,0.4);
}
.service-item span {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

/* Trust Section */
.trust-section {
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
}
.trust-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(212,175,55,0.03), transparent);
  pointer-events: none;
}
.trust-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 2px solid rgba(212,175,55,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: pulse-gold 2s ease-in-out infinite;
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.3); }
  50% { box-shadow: 0 0 0 15px rgba(212,175,55,0); }
}
.trust-icon svg { width: 36px; height: 36px; color: var(--gold); }
.trust-section h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}
.trust-section h2 span { color: var(--gold); }
.trust-section .trust-text {
  color: var(--dark-200);
  font-size: 1.1rem;
  line-height: 2;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.trust-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 60px;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 800;
}

/* CTA */
.about-cta {
  text-align: center;
  padding: 3rem 1.5rem 5rem;
}
.about-cta h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}
.about-cta p {
  color: var(--dark-300);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-btn-primary {
  padding: 0.85rem 2.5rem;
  background: var(--gold);
  color: var(--dark-900);
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  font-family: 'Tajawal', sans-serif;
}
.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212,175,55,0.3);
}
.cta-btn-secondary {
  padding: 0.85rem 2.5rem;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--dark-500);
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  font-family: 'Tajawal', sans-serif;
}
.cta-btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Reveal Animation */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Founder Section ===== */
.founder-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.founder-card {
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--gold);
}
.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.founder-card h2 { font-size: 1.8rem; font-weight: 900; color: var(--white); margin-bottom: 1.2rem; }
.founder-card h2 span { color: var(--gold); }
.founder-card p {
  color: var(--dark-200); font-size: 1.02rem; line-height: 2.1; margin-bottom: 0;
}

/* ===== Team Section ===== */
.team-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.team-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Department Block */
.dept-block {
  margin-bottom: 3rem;
}
.dept-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--dark-600);
}
.dept-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dept-dot.sales { background: #3b82f6; box-shadow: 0 0 12px rgba(59,130,246,0.4); }
.dept-dot.finish { background: #10b981; box-shadow: 0 0 12px rgba(16,185,129,0.4); }
.dept-dot.dev { background: #8b5cf6; box-shadow: 0 0 12px rgba(139,92,246,0.4); }
.dept-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}
.dept-count {
  font-size: 0.8rem;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  background: var(--dark-700);
  color: var(--dark-300);
  font-weight: 700;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}
.team-card {
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: 18px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
  position: relative;
  overflow: hidden;
}
.team-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.4s;
}
.team-card.sales-card::after { background: linear-gradient(to right, transparent, #3b82f6, transparent); }
.team-card.finish-card::after { background: linear-gradient(to right, transparent, #10b981, transparent); }
.team-card.dev-card::after { background: linear-gradient(to right, transparent, #8b5cf6, transparent); }
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.team-card:hover::after { opacity: 1; }
.team-card.sales-card:hover { border-color: rgba(59,130,246,0.3); }
.team-card.finish-card:hover { border-color: rgba(16,185,129,0.3); }
.team-card.dev-card:hover { border-color: rgba(139,92,246,0.3); }

/* Avatar */
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  position: relative;
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.team-avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-700);
  border: 2px solid var(--dark-500);
  transition: border-color 0.3s;
}
.team-card:hover .team-avatar-placeholder { border-color: var(--dark-400); }
.team-avatar-placeholder svg { width: 28px; height: 28px; color: var(--dark-400); }
.sales-card .team-avatar-placeholder { border-color: rgba(59,130,246,0.3); }
.finish-card .team-avatar-placeholder { border-color: rgba(16,185,129,0.3); }
.dev-card .team-avatar-placeholder { border-color: rgba(139,92,246,0.3); }

.team-card h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.team-card .team-role {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.sales-card .team-role { color: #60a5fa; }
.finish-card .team-role { color: #34d399; }
.dev-card .team-role { color: #a78bfa; }
.team-card .team-desc {
  color: var(--dark-300);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Light Mode */
[data-theme="light"] .about-page { background: #f5f5f5; }
[data-theme="light"] .about-hero h1 { color: #111; }
[data-theme="light"] .about-hero .tagline { color: #666; }
[data-theme="light"] .story-card, [data-theme="light"] .founder-card { background: #fff; border-color: #e0e0e0; }
[data-theme="light"] .story-card h2, [data-theme="light"] .founder-card h2 { color: #111; }
[data-theme="light"] .story-card p, [data-theme="light"] .founder-card p { color: #444; }
[data-theme="light"] .value-card { background: #fff; border-color: #e0e0e0; }
[data-theme="light"] .value-card h3 { color: #111; }
[data-theme="light"] .value-card p { color: #666; }
[data-theme="light"] .service-item { background: #fff; border-color: #e0e0e0; }
[data-theme="light"] .service-item span { color: #111; }
[data-theme="light"] .trust-section h2 { color: #111; }
[data-theme="light"] .trust-section .trust-text { color: #444; }
[data-theme="light"] .about-cta h2 { color: #111; }
[data-theme="light"] .about-stat .label { color: #666; }
[data-theme="light"] .team-card { background: #fff; border-color: #e0e0e0; }
[data-theme="light"] .team-card h4 { color: #111; }
[data-theme="light"] .team-card .team-desc { color: #666; }
[data-theme="light"] .dept-header h3 { color: #111; }
[data-theme="light"] .dept-header { border-bottom-color: #e0e0e0; }
[data-theme="light"] .team-avatar-placeholder { background: #f0f0f0; border-color: #ddd; }

/* Responsive */
@media (max-width: 768px) {
  .about-hero h1 { font-size: 2rem; }
  .about-hero .tagline { font-size: 1rem; }
  .about-stats { gap: 1.5rem; }
  .about-stat::after { display: none; }
  .about-stat .number { font-size: 2rem; }
  .story-card, .founder-card { padding: 2rem 1.5rem; }
  .story-card h2, .founder-card h2 { font-size: 1.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .trust-section h2 { font-size: 1.6rem; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
