/* ════════════════════════════════════════
   FARAVIS — assets/style.css
   CSS مشترک همه صفحات مارکتینگ
   ════════════════════════════════════════ */

/* فونت Vazirmatn — bunny.net (داخل ایران کار می‌کنه) */
@import url('https://fonts.bunny.net/css?family=vazirmatn:400;500;600;700;800&display=swap');

/* ══ شبکه‌های اجتماعی فوتر ══ */
.footer-socials{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px;}
.fsoc{display:flex;align-items:center;justify-content:center;width:34px;height:34px;background:rgba(255,255,255,.06);border-radius:9px;color:rgba(255,255,255,.5);transition:background .22s,color .22s,transform .22s;text-decoration:none;flex-shrink:0;}
.fsoc:hover{background:rgba(6,197,232,.16);color:#06c5e8;transform:translateY(-2px);}
.fsoc svg{width:16px;height:16px;}

/* ══ منوی موبایل ══ */
.tnav-burger{display:none;background:none;border:1px solid rgba(255,255,255,.14);border-radius:9px;width:40px;height:38px;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:4.5px;padding:0;}
.tnav-burger span{display:block;width:17px;height:2px;border-radius:2px;background:#e2e8f0;transition:.25s;}
.tnav-burger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.tnav-burger.open span:nth-child(2){opacity:0;}
.tnav-burger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

/* ══ ریسپانسیو ══ */
@media(max-width:1024px){
  .hero-grid{grid-template-columns:1fr !important;gap:36px;}
  .feat-grid,.how-grid,.testi-grid{grid-template-columns:repeat(2,1fr) !important;}
  .price-grid{grid-template-columns:1fr !important;max-width:480px;margin:0 auto;}
  .blog-grid{grid-template-columns:repeat(2,1fr) !important;}
  .team-grid{grid-template-columns:repeat(2,1fr) !important;}
}
@media(max-width:768px){
  .tnav-burger{display:flex;}
  #topnav{height:auto !important;min-height:62px;padding:0 !important;}
  .tnav-inner{flex-wrap:wrap;gap:10px;padding:10px 14px !important;width:100%;}
  .tnav-links{display:none;width:100%;flex-direction:column;align-items:stretch;gap:2px;border-top:1px solid rgba(255,255,255,.08);padding-top:10px;margin-top:4px;}
  .tnav-links.open{display:flex;}
  .tnl{padding:11px 12px;border-radius:10px;font-size:14px;}
  .tnav-btn{font-size:12.5px;padding:9px 14px;}
  .section{padding:44px 0 !important;}
  .mwrap{padding:0 16px !important;}
  .feat-grid,.how-grid,.testi-grid,.blog-grid,.team-grid{grid-template-columns:1fr !important;}
  .stats-row{grid-template-columns:repeat(2,1fr) !important;gap:12px;}
  .footer-grid{grid-template-columns:1fr 1fr !important;gap:24px;}
  .mission-card{padding:26px 20px !important;}
  .cta-sec h2{font-size:22px !important;}
  .hero-btns{flex-direction:column;align-items:stretch;}
  .hero-btns a,.hero-btns button{width:100%;text-align:center;}
}
@media(max-width:400px){
  .stats-row{grid-template-columns:1fr !important;}
  .footer-grid{grid-template-columns:1fr !important;}
}

:root {
  --bg:   #07101e;
  --sb:   #0c1829;
  --card: #101f36;
  --b:    rgba(255,255,255,.07);
  --b2:   rgba(255,255,255,.13);
  --ac:   #4f7eff;
  --ac2:  #a78bfa;
  --ok:   #22c55e;
  --wn:   #f59e0b;
  --er:   #ef4444;
  --tx:   #e2e8f0;
  --mu:   #64748b;
  --so:   #94a3b8;
}

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

body {
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--tx);
  font-size: 14px;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

/* ── UTILS ── */
.badge { display: inline-block; padding: 3px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.b-ok     { background: rgba(34,197,94,.15);  color: #22c55e; }
.b-warn   { background: rgba(245,158,11,.15); color: #f59e0b; }
.b-danger { background: rgba(239,68,68,.15);  color: #ef4444; }
.b-blue   { background: rgba(79,126,255,.15); color: #4f7eff; }
.b-purple { background: rgba(167,139,250,.15);color: #a78bfa; }

/* ── NAV ── */
#topnav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(7,16,30,.97);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-height: 90px;
}
.tnav-logo { text-decoration: none; }
.tnav-links { display: flex; align-items: center; gap: 2px; }
.tnl {
  padding: 7px 14px; border-radius: 8px;
  cursor: pointer; color: var(--so);
  font-size: 14px; font-weight: 500;
  transition: all .2s; text-decoration: none;
  position: relative; letter-spacing: -.1px;
}
.tnl:hover { background: rgba(255,255,255,.06); color: var(--tx); }
.tnl.active {
  color: var(--tx); font-weight: 600;
  background: rgba(255,255,255,.05);
}
.tnl.active::after {
  content: ''; position: absolute;
  bottom: 2px; right: 50%; transform: translateX(50%);
  width: 18px; height: 2px;
  background: linear-gradient(90deg,#06c5e8,#7c3aed);
  border-radius: 2px;
}
.tnav-btn {
  background: linear-gradient(135deg,#06c5e8,#0891b2);
  color: #000; border: none; padding: 10px 22px;
  border-radius: 10px; cursor: pointer;
  font-family: 'Vazirmatn',Tahoma,sans-serif;
  font-size: 14px; font-weight: 700;
  white-space: nowrap; transition: all .25s;
  text-decoration: none; display: inline-block;
  box-shadow: 0 4px 20px rgba(6,197,232,.3);
  letter-spacing: -.2px;
}
.tnav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6,197,232,.45);
}

/* ── LAYOUT ── */
.mwrap  { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.section { padding: 76px 0; }
.sec-bg  { background: rgba(255,255,255,.018); border-top: 1px solid var(--b); border-bottom: 1px solid var(--b); }

/* ── TYPOGRAPHY ── */
.stag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; background: rgba(79,126,255,.12);
  border: 1px solid rgba(79,126,255,.25); border-radius: 20px;
  font-size: 12px; color: var(--ac); margin-bottom: 16px;
}
.sh1 { font-size: clamp(26px,3.8vw,44px); font-weight: 700; line-height: 1.2; margin-bottom: 14px; }
.sh2 { font-size: 16px; color: var(--so); line-height: 1.75; max-width: 540px; }
.grad { background: linear-gradient(135deg,#4f7eff,#a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sec-head { text-align: center; margin-bottom: 12px; }
.sec-head .sh2 { max-width: 600px; margin: 0 auto; }

/* ── BUTTONS ── */
.hbp {
  background: linear-gradient(135deg,#4f7eff,#3b5fc0);
  color: #fff; border: none; padding: 13px 28px; border-radius: 10px;
  cursor: pointer; font-family: 'Vazirmatn',Tahoma,sans-serif;
  font-size: 15px; font-weight: 600; transition: all .2s;
  text-decoration: none; display: inline-block;
}
.hbp:hover { opacity: .88; transform: translateY(-2px); }
.hbo {
  background: transparent; border: 1px solid var(--b2); color: var(--tx);
  padding: 13px 28px; border-radius: 10px; cursor: pointer;
  font-family: 'Vazirmatn',Tahoma,sans-serif; font-size: 15px;
  transition: all .2s; text-decoration: none; display: inline-block;
}
.hbo:hover { border-color: var(--ac); color: var(--ac); }
.hero-btns { display: flex; gap: 12px; margin: 28px 0 30px; flex-wrap: wrap; }

/* ── HERO ── */
.hero-sec { background-image: radial-gradient(rgba(79,126,255,.06) 1px,transparent 1px); background-size: 24px 24px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 72px 0 64px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hstat strong { display: block; font-size: 20px; font-weight: 700; }
.hstat span   { font-size: 12px; color: var(--so); }

/* ── DASH PREVIEW (دکوراتیو) ── */
.dp-wrap { position: relative; }
.dash-prev {
  background: var(--card); border: 1px solid var(--b2); border-radius: 14px; padding: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55),0 0 0 1px rgba(79,126,255,.12);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.dp-mac { display: flex; align-items: center; gap: 5px; padding-bottom: 11px; border-bottom: 1px solid var(--b); margin-bottom: 11px; }
.dm-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dp-stats4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin-bottom: 11px; }
.dp-sc { background: rgba(255,255,255,.03); border: 1px solid var(--b); border-radius: 7px; padding: 7px; text-align: center; }
.dp-sc strong { display: block; font-size: 13px; font-weight: 700; }
.dp-sc span { font-size: 9px; color: var(--so); }
.dp-bars { display: flex; align-items: flex-end; gap: 3px; height: 48px; margin-bottom: 11px; padding: 0 2px; }
.dp-b { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(to top,rgba(79,126,255,.9),rgba(79,126,255,.3)); }
.dp-b.hi { background: linear-gradient(to top,rgba(167,139,250,.9),rgba(167,139,250,.3)); }
.dp-rows > div { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.04); font-size: 10px; color: var(--so); }
.dp-pill { font-size: 9px; font-weight: 600; padding: 2px 6px; border-radius: 4px; }

/* ── FEATURES ── */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 44px; }
.feat-card { background: var(--card); border: 1px solid var(--b); border-radius: 14px; padding: 22px; transition: all .25s; }
.feat-card:hover { border-color: rgba(79,126,255,.3); transform: translateY(-3px); }
.feat-ic { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 14px; }
.feat-card h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 7px; }
.feat-card p  { font-size: 12px; color: var(--so); line-height: 1.7; }

/* ── HOW IT WORKS ── */
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px; }
.how-card { text-align: center; padding: 28px 16px; }
.how-num { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,#4f7eff,#a78bfa); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; margin: 0 auto 14px; }
.how-card h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.how-card p  { font-size: 12.5px; color: var(--so); line-height: 1.7; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 44px; }
.testi-card { background: var(--card); border: 1px solid var(--b); border-radius: 14px; padding: 22px; }
.testi-stars { color: #f59e0b; font-size: 12px; margin-bottom: 12px; letter-spacing: 2px; }
.testi-txt   { font-size: 13px; color: var(--so); line-height: 1.75; margin-bottom: 16px; }
.testi-auth  { display: flex; align-items: center; gap: 10px; }
.tav { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

/* ── CTA ── */
.cta-sec { text-align: center; padding: 76px 24px; background: linear-gradient(135deg,rgba(79,126,255,.09),rgba(167,139,250,.09)); border-top: 1px solid var(--b); border-bottom: 1px solid var(--b); }
.cta-sec h2 { font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.cta-sec p  { color: var(--so); font-size: 14px; margin-bottom: 28px; }

/* ── PRICING ── */
.price-toggle-wrap { display: flex; justify-content: center; margin: 24px 0 44px; }
.ptog { display: flex; background: var(--card); border: 1px solid var(--b); border-radius: 40px; padding: 3px; gap: 3px; }
.ptop { padding: 8px 20px; border-radius: 36px; cursor: pointer; font-size: 13px; color: var(--so); font-family: 'Vazirmatn',Tahoma,sans-serif; border: none; background: transparent; transition: all .2s; }
.ptop.active { background: linear-gradient(135deg,#4f7eff,#3b5fc0); color: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; max-width: 880px; margin: 0 auto; }
.price-card { background: var(--card); border: 1px solid var(--b); border-radius: 16px; padding: 26px 22px; position: relative; }
.price-card.feat { border-color: rgba(79,126,255,.4); box-shadow: 0 0 0 1px rgba(79,126,255,.12); }
.pop-badge { position: absolute; top: -12px; right: 50%; transform: translateX(50%); background: linear-gradient(135deg,#4f7eff,#a78bfa); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.plan-name  { font-size: 13px; color: var(--so); margin-bottom: 7px; }
.plan-price { font-size: 34px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.plan-price sub { font-size: 13px; color: var(--so); font-weight: 400; }
.plan-desc  { font-size: 12px; color: var(--mu); margin: 6px 0 18px; }
.plan-div   { height: 1px; background: var(--b); margin: 16px 0; }
.pf { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; font-size: 12.5px; }
.pf.y { color: var(--tx); }
.pf.n { color: var(--mu); }
.pf.y::before { content: "✓"; color: var(--ok); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pf.n::before { content: "✗"; color: var(--mu); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.plan-btn { width: 100%; padding: 11px; border-radius: 9px; border: none; cursor: pointer; font-family: 'Vazirmatn',Tahoma,sans-serif; font-size: 13px; font-weight: 600; margin-top: 18px; transition: all .2s; }
.pb-p { background: linear-gradient(135deg,#4f7eff,#3b5fc0); color: #fff; }
.pb-o { background: transparent; border: 1px solid var(--b2); color: var(--tx); }
.pb-p:hover, .pb-o:hover { opacity: .85; }
.dsave { display: inline-block; background: rgba(34,197,94,.15); color: #22c55e; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }

/* ── BLOG ── */
.blog-header { margin-bottom: 32px; }
.blog-grid   { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.blog-card   { background: var(--card); border: 1px solid var(--b); border-radius: 12px; overflow: hidden; cursor: pointer; transition: all .25s; text-decoration: none; display: block; color: inherit; }
.blog-card:hover { transform: translateY(-3px); border-color: rgba(79,126,255,.3); }
.blog-img  { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.blog-body { padding: 15px; }
.btag      { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; margin-bottom: 8px; }
.blog-card h3  { font-size: 14px; font-weight: 600; margin-bottom: 7px; line-height: 1.5; }
.blog-card p   { font-size: 12px; color: var(--so); line-height: 1.65; }
.blog-meta { display: flex; gap: 12px; margin-top: 9px; font-size: 11px; color: var(--mu); }

/* ── ABOUT ── */
.about-hero { text-align: center; padding: 64px 24px 32px; max-width: 680px; margin: 0 auto; }
.stats-row  { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 40px 0; }
.stat-box   { background: var(--card); border: 1px solid var(--b); border-radius: 12px; padding: 20px; text-align: center; }
.stat-box strong { display: block; font-size: 26px; font-weight: 700; margin-bottom: 5px; }
.stat-box span   { font-size: 12px; color: var(--so); }
.team-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 36px; }
.team-card  { background: var(--card); border: 1px solid var(--b); border-radius: 12px; padding: 20px; text-align: center; }
.team-av    { width: 60px; height: 60px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin: 0 auto 12px; }
.team-card h3   { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.team-card .role { font-size: 12px; color: var(--ac); margin-bottom: 8px; }
.team-card p    { font-size: 11.5px; color: var(--so); line-height: 1.65; }
.mission-card { background: linear-gradient(135deg,rgba(79,126,255,.1),rgba(167,139,250,.1)); border: 1px solid rgba(79,126,255,.2); border-radius: 16px; padding: 36px; text-align: center; margin: 40px 0; }
.mission-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.mission-card p  { color: var(--so); font-size: 14px; line-height: 1.8; max-width: 600px; margin: 0 auto; }

/* ── FOOTER ── */
footer { background: var(--sb); border-top: 1px solid var(--b); padding: 44px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.footer-logo { font-size: 17px; font-weight: 700; background: linear-gradient(135deg,#4f7eff,#a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; }
.footer-desc { font-size: 14px; color: var(--so); line-height: 1.8; margin-bottom: 16px; }
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 13px; color:var(--tx); }
.footer-col a  { display: block; font-size: 14px; color: var(--so); cursor: pointer; margin-bottom: 9px; transition: color .2s; text-decoration: none; line-height: 1.5; }
.footer-col a:hover { color: var(--ac); }
.footer-copy { border-top: 1px solid var(--b); padding-top: 18px; text-align: center; font-size: 13px; color: var(--mu); }

/* ── SKELETON LOADING ── */
.skel { background: linear-gradient(90deg,rgba(255,255,255,.04) 25%,rgba(255,255,255,.08) 50%,rgba(255,255,255,.04) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skel-card { background: var(--card); border: 1px solid var(--b); border-radius: 12px; overflow: hidden; height: 280px; }
.skel-img  { height: 150px; }
.skel-body { padding: 15px; }
.skel-line { height: 10px; margin-bottom: 8px; }
.skel-line.w80 { width: 80%; }
.skel-line.w60 { width: 60%; }
.skel-line.w40 { width: 40%; }

/* ── PAGE LOADING STATE ── */
.page-loading { text-align: center; padding: 80px 20px; color: var(--so); font-size: 14px; }
.page-loading::before { content: ''; display: block; width: 32px; height: 32px; border: 2px solid rgba(79,126,255,.3); border-top-color: #4f7eff; border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
