:root{
  --bg: #f7f8ff;
  --bg2:#ffffff;
  --text:#101828;
  --muted:#667085;
  --border: rgba(17, 24, 39, .08);

  --primary:#4f46e5;
  --primary2:#6d28d9;
  --accent:#7c3aed;

  --card:#ffffff;
  --shadow: 0 18px 50px rgba(17, 24, 39, .10);
  --shadow2: 0 10px 30px rgba(79, 70, 229, .18);

  --radius: 18px;
  --radius2: 22px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Vazirmatn", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 500px at 80% 0%, rgba(124,58,237,.12), transparent 60%),
              radial-gradient(900px 420px at 10% 20%, rgba(79,70,229,.10), transparent 55%),
              var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
.container{
  width:min(1140px, calc(100% - 32px));
  margin-inline:auto;
}

.bg-orb{
  position:absolute;
  filter: blur(30px);
  opacity:.55;
  z-index:-1;
  border-radius: 999px;
}
.orb-1{
  width:420px; height:420px;
  background: radial-gradient(circle at 30% 30%, rgba(124,58,237,.35), rgba(79,70,229,.12), transparent 65%);
  top:-180px; right:-120px;
}
.orb-2{
  width:340px; height:340px;
  background: radial-gradient(circle at 30% 30%, rgba(79,70,229,.25), rgba(109,40,217,.10), transparent 65%);
  top:120px; left:-140px;
}

/* NAV */
.nav{
  position:sticky;
  top:0;
  backdrop-filter: blur(10px);
  background: rgba(247,248,255,.70);
  border-bottom: 1px solid rgba(17,24,39,.06);
  z-index:50;
}
.nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 210px;
}
.brand__mark{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79,70,229,.18), rgba(124,58,237,.14));
  color: var(--primary);
  border:1px solid rgba(79,70,229,.18);
}
.brand__text{ display:flex; flex-direction:column; line-height:1.1; }
.brand__title{ font-weight:800; font-size:16px; }
.brand__sub{ font-weight:500; font-size:12px; color:var(--muted); margin-top:3px; }

.menu{
  display:flex;
  align-items:center;
  gap:18px;
  padding:10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border:1px solid rgba(17,24,39,.06);
}
.menu a{
  font-size:13px;
  color:#344054;
  font-weight:600;
  padding:6px 8px;
  border-radius: 10px;
}
.menu a:hover{
  background: rgba(79,70,229,.08);
  color: var(--primary);
}

.nav__cta{ display:flex; align-items:center; gap:10px; }
.burger{
  display:none;
  width:44px;
  height:44px;
  border-radius: 12px;
  border:1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.75);
  padding:10px;
}
.burger span{
  display:block;
  height:2px;
  background:#344054;
  margin:6px 0;
  border-radius: 99px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius: 999px;
  border:1px solid rgba(17,24,39,.10);
  font-weight:800;
  font-size:13px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  cursor:pointer;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color:white;
  border-color: rgba(79,70,229,.25);
  box-shadow: var(--shadow2);
}
.btn--primary:hover{ box-shadow: 0 14px 36px rgba(79,70,229,.25); }
.btn--ghost{
  background: rgba(255,255,255,.78);
  color:#1f2937;
}
.btn--ghost:hover{ background: rgba(255,255,255,.95); }
.btn--wide{ padding:12px 18px; min-width: 190px; }

/* HERO */
.hero{ padding: 44px 0 22px; }
.hero__grid{
  display:grid;
  grid-template-columns: 460px 1fr;
  gap: 36px;
  align-items:center;
}

.hero__copy{ padding: 6px 0; }
.hero__kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  color:#3b3fbf;
  background: rgba(79,70,229,.10);
  border:1px solid rgba(79,70,229,.18);
  padding:8px 12px;
  border-radius: 999px;
  font-size:13px;
}
.spark{ color:#f59e0b; }

.hero__title{
  margin:18px 0 4px;
  font-size:54px;
  letter-spacing: -0.5px;
}
.hero__subtitle{
  margin: 0 0 12px;
  font-size:18px;
  font-weight:800;
  color:#1f2937;
}
.hero__subtitle span{
  font-weight:700;
  color:#475467;
}
.hero__desc{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.9;
  font-weight:600;
}

.hero__buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom: 16px;
}

.hero__mini{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top: 8px;
}
.mini{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.70);
  border:1px solid rgba(17,24,39,.08);
  font-weight:800;
  color:#344054;
  font-size:13px;
}
.mini__ic{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  background: rgba(79,70,229,.10);
  color: var(--primary);
}
.mini__ic svg{ width:18px; height:18px; }

/* PHONE MOCK (App inside) */
.phone{
  display:flex;
  justify-content:center;
  align-items:center;
}
.phone__frame{
  width: 360px;
  height: 560px;
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.70));
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.phone__notch{
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  width: 120px;
  height: 26px;
  border-radius: 999px;
  background: rgba(16,24,40,.10);
  border:1px solid rgba(16,24,40,.06);
  z-index:5;
}

.app{
  height:100%;
  padding: 18px 18px 16px;
  display:flex;
  flex-direction:column;
  gap:14px;
  position:relative;
}

.app__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top: 18px;
}
.app__brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.app__logo{
  width:42px;
  height:42px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-weight:900;
  color:white;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 10px 22px rgba(79,70,229,.25);
}
.app__name{ display:flex; flex-direction:column; line-height:1.15; }
.app__title{ font-weight:900; }
.app__badge{
  margin-top:4px;
  font-size:12px;
  font-weight:800;
  color:#475467;
}

.app__pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius: 999px;
  background: rgba(16,185,129,.10);
  border:1px solid rgba(16,185,129,.18);
  font-weight:900;
  color:#047857;
  font-size:12px;
}
.dot{
  width:8px; height:8px;
  background:#10b981;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(16,185,129,.18);
}

.app__actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-end; /* مثل عکس، آیتم‌ها سمت راست */
}
.app__action{
  width: 210px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  padding:10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  border:1px solid rgba(17,24,39,.08);
  font-family:inherit;
  font-weight:900;
  color:#344054;
  cursor:pointer;
}
.app__action:hover{
  border-color: rgba(79,70,229,.22);
  box-shadow: 0 10px 24px rgba(79,70,229,.12);
}
.ic{
  width:30px; height:30px;
  border-radius: 10px;
  background: rgba(79,70,229,.10);
  color: var(--primary);
  display:grid;
  place-items:center;
  flex: 0 0 auto;
}
.ic svg{ width:18px; height:18px; }

.app__center{
  flex:1;
  display:grid;
  place-items:center;
  position:relative;
  margin-top: 4px;
}

.bot{
  width: 150px;
  height: 180px;
  position:relative;
}
.bot__head{
  width: 132px;
  height: 110px;
  margin: 0 auto;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(79,70,229,.18), rgba(124,58,237,.10));
  border:1px solid rgba(79,70,229,.20);
  box-shadow: 0 16px 40px rgba(79,70,229,.16);
  position:relative;
}
.bot__visor{
  width: 92px;
  height: 50px;
  position:absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15,23,42,.92), rgba(15,23,42,.74));
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
}
.eye{
  width:10px; height:10px;
  background: #7dd3fc;
  border-radius: 99px;
  box-shadow: 0 0 0 5px rgba(125,211,252,.14);
}
.bot__body{
  width: 118px;
  height: 70px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.65));
  border:1px solid rgba(17,24,39,.10);
  margin: -12px auto 0;
  position:relative;
}
.bot__body::before{
  content:"";
  position:absolute;
  inset: 14px 18px;
  border-radius: 18px;
  background: rgba(79,70,229,.10);
  border: 1px dashed rgba(79,70,229,.22);
}

/* books */
.books{
  position:absolute;
  left: 6px;
  bottom: 8px;
  width: 110px;
  height: 80px;
}
.book{
  position:absolute;
  left:0;
  width: 90px;
  height: 22px;
  border-radius: 10px;
  border:1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.85);
  box-shadow: 0 10px 20px rgba(17,24,39,.08);
}
.b1{ bottom: 0; transform: rotate(-2deg); }
.b2{ bottom: 22px; left: 6px; transform: rotate(2deg); background: rgba(79,70,229,.10); border-color: rgba(79,70,229,.18);}
.b3{ bottom: 44px; left: 12px; transform: rotate(-1deg); background: rgba(124,58,237,.10); border-color: rgba(124,58,237,.18);}

.app__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-top: 4px;
}
.hint{
  font-size:12px;
  font-weight:800;
  color:#667085;
}
.chips{ display:flex; gap:8px; }
.chip{
  font-size:11px;
  font-weight:900;
  padding:6px 10px;
  border-radius: 999px;
  background: rgba(79,70,229,.10);
  border:1px solid rgba(79,70,229,.18);
  color:#3b3fbf;
}

/* FEATURES section */
.features{
  padding: 26px 0 32px;
}
.section__title{
  margin:0;
  font-size:24px;
  font-weight:900;
}
.section__subtitle{
  margin:8px 0 18px;
  color: var(--muted);
  font-weight:700;
  line-height:1.8;
}

.cards{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.card{
  background: rgba(255,255,255,.78);
  border:1px solid rgba(17,24,39,.08);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 10px 26px rgba(17,24,39,.06);
  min-height: 156px;
}
.card__icon{
  width:44px;
  height:44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(79,70,229,.10);
  color: var(--primary);
  border:1px solid rgba(79,70,229,.16);
  margin-bottom: 10px;
}
.card__icon svg{ width:22px; height:22px; }
.card__title{
  margin:0 0 6px;
  font-size:14px;
  font-weight:900;
}
.card__text{
  margin:0;
  color:#667085;
  font-weight:650;
  line-height:1.8;
  font-size:13px;
}

/* CONTACT */
.contact{
  padding: 10px 0 46px;
}
.contact__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items:stretch;
}
.contact__box{
  background: rgba(255,255,255,.82);
  border:1px solid rgba(17,24,39,.08);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: 0 14px 36px rgba(17,24,39,.08);
}
.contact__list{
  list-style:none;
  padding:0;
  margin: 12px 0 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.contact__list li{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(247,248,255,.75);
  border: 1px solid rgba(17,24,39,.06);
}
.contact__ic{ width:24px; text-align:center; }
.contact__label{ color:#344054; font-weight:900; min-width: 90px; }
.contact__link{
  color: var(--primary);
  font-weight:900;
  direction:ltr;
  unicode-bidi: plaintext;
}
.contact__actions{ display:flex; gap:10px; flex-wrap:wrap; }

.contact__about .about__card{
  height:100%;
  background: linear-gradient(135deg, rgba(79,70,229,.10), rgba(124,58,237,.08));
  border:1px solid rgba(79,70,229,.18);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: 0 14px 36px rgba(79,70,229,.10);
}
.about__logo{
  width:52px;
  height:52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color:white;
  display:grid;
  place-items:center;
  font-weight:1000;
  letter-spacing:.6px;
  box-shadow: 0 14px 32px rgba(79,70,229,.22);
  margin-bottom: 10px;
}
.about__card h3{
  margin: 6px 0 8px;
  font-weight:1000;
}
.about__card p{
  margin:0 0 12px;
  color:#475467;
  font-weight:700;
  line-height:1.9;
}
.about__meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.tag{
  padding:6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border:1px solid rgba(17,24,39,.08);
  font-weight:900;
  font-size:12px;
  color:#344054;
}

/* FOOTER */
.footer{
  border-top:1px solid rgba(17,24,39,.06);
  background: rgba(255,255,255,.55);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 16px 0;
  color:#667085;
  font-weight:800;
  font-size:13px;
}
.footer__links{ display:flex; gap:14px; }
.footer__links a:hover{ color: var(--primary); }

/* Responsive */
@media (max-width: 1080px){
  .cards{ grid-template-columns: repeat(3, 1fr); }
  .hero__grid{ grid-template-columns: 420px 1fr; }
}
@media (max-width: 860px){
  .menu{ display:none; }
  .burger{ display:block; }
  .menu.menu--open{
    display:flex;
    position:absolute;
    top: 66px;
    right: 16px;
    left: 16px;
    flex-direction:column;
    border-radius: 18px;
    padding: 12px;
    gap: 6px;
    box-shadow: var(--shadow);
  }
  .hero__grid{ grid-template-columns: 1fr; }
  .phone__frame{ width: 360px; max-width: 100%; }
  .hero__title{ font-size:44px; }
  .contact__grid{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .btn--wide{ min-width: unset; width:100%; }
  .hero__buttons{ flex-direction:column; }
  .cards{ grid-template-columns: 1fr; }
}
