/* public/index.css — استایل صفحه‌ی اصلی.
 *
 * تا ۹ شهریور ۱۴۰۵ این ۲۴KB داخل خود index.html بود و نسبت متن به کد را
 * به ۷.۶٪ می‌رساند — همان چیزی که Seobility «متن کم» گزارش می‌کرد.
 *
 * ⚠️ <link> این فایل دقیقاً همان‌جایی نشسته که <style> بود. جابه‌جا کردنش
 * ترتیب cascade را عوض می‌کند (قانون ۱۰).
 */
/* Vazirmatn — self-host شده (public/fonts). قبلاً از Google Fonts می‌آمد؛
     حذف شد تا وابستگی خارجی برود و CSP بتواند اجباری شود. */
  @font-face { font-family:'Vazirmatn'; src:url('/fonts/Vazirmatn-Regular.woff2')  format('woff2'); font-weight:400; font-display:swap; }
  @font-face { font-family:'Vazirmatn'; src:url('/fonts/Vazirmatn-Medium.woff2')   format('woff2'); font-weight:500; font-display:swap; }
  @font-face { font-family:'Vazirmatn'; src:url('/fonts/Vazirmatn-SemiBold.woff2') format('woff2'); font-weight:600; font-display:swap; }
  @font-face { font-family:'Vazirmatn'; src:url('/fonts/Vazirmatn-Bold.woff2')     format('woff2'); font-weight:700; font-display:swap; }

/* ═══════════════════════════════════════
   VARIABLES
═══════════════════════════════════════ */
:root {
  --navy:         #0D1B2A;
  --navy-mid:     #1A2F45;
  --navy-light:   #243B55;
  --green:        #2EE8A5;
  --green-dark:   #00A87E;
  --green-glow:   rgba(46,232,165,0.12);
  --blue:         #4D9FFF;
  --red:          #FF4D6D;
  --cream:        #E8E2D9;
  --white:        #FFFFFF;
  --gray-50:      #F8FAF9;
  --gray-100:     #F0F4F2;
  --gray-200:     #E2EAE6;
  --gray-400:     #8A9BB0;
  --gray-600:     #4A5568;
  --text:         #0D1B2A;
  --radius:       14px;
  --shadow:       0 20px 60px rgba(0,0,0,0.08);
  --max-content:  1400px;
}

/* ═══════════════════════════════════════
   RESET
═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased; line-height: 1.7; font-weight: 500;}

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
nav#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 5%;
  background: rgba(13,27,42,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.3s;
}
nav#navbar > .nav-inner {
  width: 100%;
  max-width: var(--max-content);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav#navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.3); background: rgba(13,27,42,0.98); }

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.nav-logo em { color: var(--green); font-style: normal; }

.nav-right { display: flex; flex-direction: column; align-items: stretch; gap: 0.3rem; }
.nav-link {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  display: block;
}
@media(min-width:768px){ .nav-link { display: block; } }
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.btn-nav-ghost {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-nav-ghost:hover { background: var(--green); color: var(--navy); }
.nav-center {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0.4rem;
}
@media(max-width: 900px) { .nav-center { display: none; } }

.btn-nav {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-nav:hover { background: var(--green); color: var(--navy); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 5% 5rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  width: 100%;
  max-width: var(--max-content);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 15% 55%, rgba(46,232,165,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 35% 45% at 85% 25%, rgba(77,159,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46,232,165,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,232,165,0.035) 1px, transparent 1px);
  background-size: 55px 55px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46,232,165,0.1);
  border: 1px solid rgba(46,232,165,0.25);
  color: var(--green);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
  animation: fadeUp 0.7s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 1.4rem;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 .accent { color: var(--green); }

.hero-tagline {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
  background: var(--green);
  color: var(--navy);
  border: none;
  padding: 0.95rem 2rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(46,232,165,0.25);
}

.btn-ghost {
  background: none;
  border: none;
  color: var(--gray-400);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.btn-ghost:hover { color: var(--white); }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  animation: fadeUp 0.7s 0.4s ease both;
}
.stat-number { font-size: 1.7rem; font-weight: 800; color: var(--white); }
.stat-number em { color: var(--green); font-style: normal; }
.stat-label { font-size: 0.78rem; color: var(--gray-400); margin-top: 0.15rem; }

/* Chat Preview */
.hero-visual {
  position: relative;
  width: 300px;
  flex-shrink: 0;
  z-index: 2;
  animation: floatIn 0.9s 0.5s ease both;
}
@media(max-width:960px){ .hero-visual { display: none; } }

.chat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 1.4rem;
  backdrop-filter: blur(16px);
}
.chat-header {
  display: flex; align-items: center; gap: 0.7rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.1rem;
}
.chat-avatar {
  width: 34px; height: 34px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; color: var(--navy);
}
.chat-name { font-size: 0.88rem; font-weight: 600; color: var(--white); }
.chat-online { font-size: 0.72rem; color: var(--green); }

.msg { margin-bottom: 0.75rem; display: flex; flex-direction: column; }
.msg.user { align-items: flex-start; }
.msg.bot  { align-items: flex-end; }
.msg-bubble {
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.82rem;
  max-width: 88%;
  line-height: 1.5;
}
.msg.user .msg-bubble {
  background: rgba(255,255,255,0.07);
  color: var(--gray-200);
  border-radius: 12px 12px 12px 3px;
}
.msg.bot .msg-bubble {
  background: var(--green);
  color: var(--navy);
  font-weight: 600;
  border-radius: 12px 12px 3px 12px;
}
.msg-time { font-size: 0.68rem; color: var(--gray-400); margin-top: 0.25rem; padding: 0 0.2rem; }

/* ═══════════════════════════════════════
   SECTIONS — shared
═══════════════════════════════════════ */
.section { padding: 5.5rem 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 700;
  color: var(--green); letter-spacing: 2.5px;
  text-transform: uppercase; margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 800; color: var(--navy);
  line-height: 1.25; letter-spacing: -0.5px;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem; color: var(--gray-600);
  line-height: 1.8; max-width: 560px;
}
.section-title.light { color: var(--white); }
.section-sub.light   { color: var(--gray-400); }

/* ═══════════════════════════════════════
   PROBLEM
═══════════════════════════════════════ */
.section-problem { background: var(--gray-100); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: all 0.25s;
}
.problem-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(46,232,165,0.1);
}
.problem-icon { font-size: 1.8rem; margin-bottom: 0.9rem; }
.problem-card h3 { font-size: 0.98rem; font-weight: 700; color: var(--navy); margin-bottom: 0.45rem; }
.problem-card p  { font-size: 0.87rem; color: var(--gray-600); line-height: 1.65; }

/* ═══════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════ */
.section-how { background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.step-card { text-align: center; padding: 2rem 1.5rem; }
.step-num {
  width: 50px; height: 50px;
  background: var(--navy); color: var(--green);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 800;
  margin: 0 auto 1.3rem;
}
.step-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.step-card p  { font-size: 0.88rem; color: var(--gray-600); line-height: 1.7; }

/* ═══════════════════════════════════════
   FEATURES
═══════════════════════════════════════ */
.section-features { background: var(--navy); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 1.8rem;
  transition: all 0.25s;
}
.feature-card:hover {
  background: rgba(46,232,165,0.05);
  border-color: rgba(46,232,165,0.25);
  transform: translateY(-4px);
}
.feature-icon {
  width: 46px; height: 46px;
  background: rgba(46,232,165,0.1);
  border: 1px solid rgba(46,232,165,0.15);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.1rem;
}
.feature-card h3 { font-size: 0.97rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.86rem; color: var(--gray-400); line-height: 1.7; }
.feature-tag {
  display: inline-block;
  background: rgba(46,232,165,0.1);
  color: var(--green);
  font-size: 0.7rem; font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 5px;
  margin-top: 0.7rem;
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   PRICING
═══════════════════════════════════════ */
.section-pricing { background: var(--gray-100); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.3rem;
  max-width: 880px;
  margin-inline: auto;
  margin-top: 3rem;
}
.price-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  transition: all 0.25s;
  position: relative;
}
.price-card.featured {
  border-color: var(--green);
  background: var(--navy);
  transform: scale(1.03);
  box-shadow: 0 24px 60px rgba(46,232,165,0.15);
}
.price-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--navy);
  font-size: 0.72rem; font-weight: 800;
  padding: 0.28rem 0.9rem;
  border-radius: 0 0 9px 9px;
}
.price-plan {
  font-size: 0.82rem; font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.price-card.featured .price-plan { color: var(--green); }
.price-amount {
  font-size: 2rem; font-weight: 800;
  color: var(--navy); line-height: 1;
  margin-bottom: 0.2rem;
}
.price-card.featured .price-amount { color: var(--white); }
.price-period { font-size: 0.82rem; color: var(--gray-400); margin-bottom: 1.6rem; }
.price-features { list-style: none; margin-bottom: 1.8rem; }
.price-features li {
  font-size: 0.88rem; color: var(--gray-600);
  padding: 0.45rem 0;
  display: flex; align-items: center; gap: 0.55rem;
  border-bottom: 1px solid var(--gray-200);
}
.price-card.featured .price-features li {
  color: var(--gray-400);
  border-color: rgba(255,255,255,0.07);
}
.price-features li::before {
  content: "✓";
  color: var(--green); font-weight: 700;
  font-size: 0.82rem; flex-shrink: 0;
}
.price-features li:last-child { border: none; }
.price-btn {
  width: 100%; padding: 0.85rem;
  border-radius: 10px;
  font-family: inherit; font-size: 0.92rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gray-200);
  color: var(--navy);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-solid {
  background: var(--green);
  border: 2px solid var(--green);
  color: var(--navy);
}
.btn-solid:hover { background: var(--white); transform: translateY(-1px); }

/* ═══════════════════════════════════════
   FAQ
═══════════════════════════════════════ */
.section-faq { background: var(--white); }
.faq-list { max-width: 700px; margin: 3rem auto 0; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width: 100%;
  background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 0;
  font-family: inherit; font-size: 0.97rem; font-weight: 700;
  color: var(--navy); cursor: pointer;
  text-align: right;
  gap: 1rem;
}
.faq-q:hover { color: var(--green); }
.faq-icon { font-size: 1.2rem; flex-shrink: 0; transition: transform 0.25s; color: var(--green); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  font-size: 0.9rem; color: var(--gray-600);
  line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 1.2rem; }

/* ═══════════════════════════════════════
   WAITLIST
═══════════════════════════════════════ */
.section-waitlist {
  background: var(--navy);
  text-align: center;
}
.waitlist-form {
  display: flex; gap: 0.75rem;
  max-width: 460px; margin: 2.5rem auto 0;
  flex-wrap: wrap; justify-content: center;
}
.waitlist-input {
  flex: 1; min-width: 200px;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 11px;
  color: var(--white);
  font-family: inherit; font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
  direction: ltr;
}
.waitlist-input::placeholder { color: var(--gray-400); }
.waitlist-input:focus { border-color: var(--green); }
.waitlist-submit {
  background: var(--green);
  color: var(--navy);
  border: none;
  padding: 0.9rem 1.6rem;
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.92rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.waitlist-submit:hover { background: var(--white); transform: translateY(-2px); }
.waitlist-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.waitlist-note { font-size: 0.78rem; color: var(--gray-400); margin-top: 0.9rem; }

.waitlist-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  animation: fadeUp 0.5s ease;
}
.success-icon {
  width: 52px; height: 52px;
  background: rgba(46,232,165,0.15);
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.success-title { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.success-sub   { font-size: 0.88rem; color: var(--gray-400); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: #060D14;
  padding: 2rem 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-inner {
  width: 100%;
  max-width: var(--max-content);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 768px) {
  .footer-inner { flex-direction: column; text-align: center; }
}
.footer-logo { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.footer-logo em { color: var(--green); font-style: normal; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.82rem; color: var(--gray-400);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }
.footer-copy { font-size: 0.78rem; color: var(--gray-400); }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatIn {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .hero { padding: 6.5rem 5% 4rem; flex-direction: column; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  nav { padding: 0.9rem 4%; }
  .price-card.featured { transform: scale(1); }
  .footer-links { justify-content: center; }
}

/* ═══════════════════════════════════════
   MOTION ADD-ON v1
═══════════════════════════════════════ */
.chat-msg {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.chat-msg.shown { opacity: 1; transform: translateY(0); }

.typing-indicator {
  display: none;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.typing-indicator.active { display: flex; }
.typing-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.55rem 0.8rem;
  background: var(--green);
  border-radius: 12px 12px 3px 12px;
}
.typing-bubble span {
  width: 5px; height: 5px;
  background: var(--navy);
  border-radius: 50%;
  opacity: 0.5;
  animation: typingDot 1s infinite;
}
.typing-bubble span:nth-child(2) { animation-delay: 0.15s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.section-label {
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
}
.section-label::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease 0.15s;
}
.reveal.visible .section-label::after { transform: scaleX(1); }

.step-num {
  transform: scale(0.5);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}
.reveal.visible .step-num { transform: scale(1); }

/* ═══════════════════════════════════════
   ICONS (SVG sprite consumers)
═══════════════════════════════════════ */
.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; display: block; }

.problem-icon {
  width: 46px; height: 46px;
  background: var(--green-glow);
  border: 1px solid rgba(46,232,165,0.25);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}
.feature-icon .icon, .problem-icon .icon, .mini-icon .icon { font-size: inherit; }

/* ═══════════════════════════════════════
   INTELLIGENCE
═══════════════════════════════════════ */
.section-intelligence { background: var(--gray-100); }
.intelligence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.mini-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 1.3rem;
  transition: all 0.25s;
}
.mini-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(46,232,165,0.1); }
.mini-icon {
  width: 38px; height: 38px;
  background: var(--green-glow);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}
.mini-card h3 { font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.mini-card p { font-size: 0.82rem; color: var(--gray-600); line-height: 1.6; }
.intelligence-more { text-align: center; margin-top: 2rem; font-size: 0.9rem; color: var(--gray-600); }

/* ═══════════════════════════════════════
   ACCESSIBILITY
═══════════════════════════════════════ */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

  /* شبکه‌های اجتماعی در فوتر.
   *
   * این قاعده در shared.css هم هست. index.html هیچ stylesheet خارجی
   * لینک نمی‌کند و کل CSS اش درون‌خطی است؛ لینک‌کردن shared.css به این
   * صفحه یعنی قواعد .main-footer و .footer-links آن تازه فعال شوند و
   * فوتر این صفحه که با style= درون‌خطی چیده شده جابه‌جا شود. تا وقتی
   * CSS این صفحه استخراج نشده، این کپی عمدی است.
   */
  .footer-social {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    margin: .9rem 0 .2rem;
  }
  .footer-social a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color .2s;
  }
  .footer-social a:hover { color: var(--green); }
  .footer-social svg { flex-shrink: 0; }
