/* ==========================================
   About Page — Modern & Themed for VoiceAI
   ========================================== */

.about-page {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #1f2937;
  background: white;
  line-height: 1.6;
}

/* Containers */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

/* Section Spacing */
.section {
  padding: 64px 16px;
  position: relative;
}

.section h1,
.section h2,
.section h3 {
  font-weight: 700;
  color: #1f2d5a;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section h2 {
  text-align: center;
  font-size: 1.8rem;
}

.section h3 {
  font-size: 1.3rem;
}

/* Intro Section */
.intro {
  text-align: center;
  background: white;
  border-bottom: 1px solid #e6ecf8;
}

.intro h1 {
  font-size: 2.2rem;
  background: linear-gradient(90deg, #2f49cc, #2439a3);
  
  /* For modern browsers */
  background-clip: text;
  
  /* For Webkit browsers (Chrome, Safari, Edge) */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  margin-bottom: 14px;
}

/* If you want to support Firefox for text gradient (optional fallback) */
.intro h1::selection {
  color: #2f49cc;
}

.lead {
  font-size: 1.05rem;
  color: #444;
  max-width: 780px;
  margin: 0 auto 28px;
}

/* Key Points */
.key-points {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.kp {
  background: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(12, 22, 80, 0.06);
  max-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kp:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(12, 22, 80, 0.08);
}

.kp strong {
  color: #2e3a70;
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

/* How It Works Section */
.how-it-works {
  background: #ffffff;
}

.how-it-works h2 {
  color: #2e3a70;
  margin-bottom: 40px;
}

/* Steps Grid */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step {
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px 30px;
  box-shadow: 0 6px 22px rgba(11, 22, 70, 0.06);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.4s; }
.step:nth-child(4) { animation-delay: 0.6s; }

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(11, 22, 70, 0.08);
}

.step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.num {
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f49cc, #2439a3);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(47, 73, 204, 0.25);
}

.step-body {
  margin-top: 14px;
  color: #444;
  text-align: center;
  font-size: 0.98rem;
}

.step-body ul {
  margin-top: 10px;
  padding-left: 20px;
  text-align: left;
}

/* Screenshots */
.screenshot {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.screenshot img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid #e6eefc;
  box-shadow: 0 8px 22px rgba(12, 22, 80, 0.06);
  transition: transform 0.3s ease;
}

.screenshot img:hover {
  transform: scale(1.02);
}

.screenshot-caption {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Notes & Tips */
.tip {
  margin-top: 10px;
  color: #374151;
  font-weight: 600;
}

.note, .small {
  color: #6b7280;
  font-size: 0.95rem;
  margin-top: 8px;
}

/* Best Practices */
.best-practices {
  background: #f4f7ff;
  border-top: 1px solid #e6eefc;
}

.best-practices h2 {
  text-align: center;
}

.practices {
  max-width: 880px;
  margin: 22px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #444;
}

.practices strong {
  color: #111827;
}

/* Tutorial Section */
.tutorial {
  background: #fff;
}

.tutorial .video-wrap {
  max-width: 860px;
  margin: 24px auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(11, 22, 70, 0.1);
}

.tutorial iframe {
  width: 100%;
  height: 440px;
  border: 0;
}

/* CTA Section */
.cta {
  background: linear-gradient(90deg, #2f49cc, #2439a3);
  color: #fff;
  border-radius: 16px;
  margin: 40px 16px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(36, 57, 163, 0.25);
}

.cta h3 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  color : white;
}

.btn-primary {
  display: inline-block;
  background: #fff;
  color: #2f49cc;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(36, 57, 163, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(36, 57, 163, 0.28);
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
  .container { padding: 18px; }
  .steps { grid-template-columns: 1fr; }
  .tutorial iframe { height: 260px; }
  .cta { padding: 28px 16px; }
}
