/* صفحه معرفی افزونه هوشمند آندیا — هماهنگ با تم سایت */

.ext-landing .container-narrow {
  max-width: 1080px;
  margin: 0 auto;
}

.ext-landing-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(59, 130, 246, 0.22), transparent 45%),
    radial-gradient(ellipse at 90% 10%, rgba(249, 115, 22, 0.16), transparent 40%),
    linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  color: #f8fafc;
}

.ext-landing-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--md-background, #f8fafc));
  pointer-events: none;
}

.ext-landing-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.ext-landing-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  line-height: 1.35;
  color: #fff;
}

.ext-landing-hero .hero-lead {
  margin: 0 0 1.35rem;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 36rem;
}

.ext-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.ext-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e2e8f0;
  font-size: 0.85rem;
}

.ext-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.ext-landing-hero .btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.ext-landing-hero .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.ext-hero-meta {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
}

.ext-hero-visual {
  position: relative;
}

.ext-hero-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.ext-hero-card video,
.ext-hero-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #020617;
}

.ext-hero-card-caption {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.ext-section {
  padding: 3rem 0;
}

.ext-section.alt {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.ext-section-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.ext-section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--brand-dark, #0f172a);
}

.ext-section-head p {
  margin: 0 auto;
  max-width: 40rem;
  color: #64748b;
  line-height: 1.8;
}

.ext-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ext-feature {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.2rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ext-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ext-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(14, 165, 233, 0.12));
  color: var(--md-primary, #3b82f6);
  margin-bottom: 0.85rem;
  font-size: 1.15rem;
}

.ext-feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: #0f172a;
}

.ext-feature p {
  margin: 0;
  color: #64748b;
  line-height: 1.75;
  font-size: 0.95rem;
}

.ext-video-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #0f172a;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.ext-video-wrap video {
  display: block;
  width: 100%;
  max-height: 560px;
  background: #0f172a;
}

.ext-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ext-step {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem 1.15rem 1.2rem;
}

.ext-step-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--md-primary, #3b82f6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.ext-step h3 {
  margin: 0 0 0.5rem;
  padding-left: 2.5rem;
  font-size: 1.05rem;
  color: #0f172a;
}

.ext-step p {
  margin: 0;
  color: #64748b;
  line-height: 1.75;
  font-size: 0.94rem;
}

.ext-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.ext-gallery a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ext-gallery a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.ext-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.ext-gallery figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: #334155;
  border-top: 1px solid #f1f5f9;
}

.ext-pdfs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.ext-pdf-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ext-pdf-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

.ext-pdf-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 1.25rem;
}

.ext-pdf-card strong {
  display: block;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.ext-pdf-card span {
  color: #64748b;
  font-size: 0.88rem;
}

.ext-tut-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ext-tut-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.2rem 1.25rem;
}

.ext-tut-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #0f172a;
}

.ext-tut-card .desc {
  margin: 0 0 0.85rem;
  color: #64748b;
  line-height: 1.75;
  white-space: pre-wrap;
}

.ext-tut-media {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ext-tut-media a,
.ext-tut-media span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid #e2e8f0;
}

.ext-tut-media a:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #075985;
}

.ext-cta-panel {
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #1e3a8a 55%, #0f172a);
  color: #fff;
  border-radius: 20px;
  padding: 2.25rem 1.5rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
}

.ext-cta-panel h2 {
  margin: 0 0 0.5rem;
  color: #fff;
}

.ext-cta-panel p {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  color: #cbd5e1;
  line-height: 1.8;
}

.ext-cta-panel .cta-buttons {
  justify-content: center;
}

.ext-empty {
  text-align: center;
  color: #64748b;
  line-height: 1.8;
  padding: 1rem;
}

@media (max-width: 900px) {
  .ext-landing-hero .container,
  .ext-features,
  .ext-steps,
  .ext-gallery,
  .ext-pdfs {
    grid-template-columns: 1fr;
  }

  .ext-landing-hero {
    padding-top: 2.5rem;
  }

  .ext-step-num {
    left: auto;
    right: 1rem;
  }

  .ext-step h3 {
    padding-left: 0;
    padding-right: 2.5rem;
  }
}
