/* =========================================
   ABOUT PAGE — Professional Dark UI (v2)
   ========================================= */
:root {
  --bg: #0b1120;
  --card-bg: rgba(15, 23, 42, 0.7);
  --border: rgba(255, 255, 255, 0.06);
  --text: #f1f5f9;
  --text-dim: #94a3b8;
  --primary: #38bdf8;
  --accent: #8b5cf6;
  --radius: 24px;
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Vazirmatn', system-ui, sans-serif;
  line-height: 1.6;
}

.glass {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}
.glass:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }

.about-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ---------- Hero ---------- */
.about-hero {
  text-align: center;
  padding: 4rem 2rem;
  margin-bottom: 2rem;
  background: radial-gradient(circle at 30% 40%, rgba(56,189,248,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(139,92,246,0.06) 0%, transparent 50%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}
.about-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.about-hero .founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
}

/* ---------- Story Section (بدون آیکون اضافی) ---------- */
.story-section {
  margin-bottom: 2rem;
}
.story-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.story-section p {
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.story-section strong {
  color: var(--primary);
  font-weight: 700;
}

/* ---------- Team Section ---------- */
.team-section {
  margin-bottom: 2rem;
}
.team-section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text);
}
.team-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  max-width: 450px;
  margin: 0 auto;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.5); }
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 0 20px rgba(56,189,248,0.3);
}
.team-card h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.team-card .role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.team-card p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Values ---------- */
.values-section {
  margin-bottom: 2rem;
}
.values-section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.value-item {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-item:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.value-item .material-icons {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}
.value-item h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.value-item p { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- CTA ---------- */
.about-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(56,189,248,0.05), rgba(139,92,246,0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.about-cta h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.about-cta p { color: var(--text-dim); margin-bottom: 1.5rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(56,189,248,0.3); }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 99;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top .material-icons { color: white; font-size: 22px; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
  .glass, .about-hero, .team-card, .value-item {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #1e293b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }
  .about-hero { padding: 2rem 1rem; }
}