*{box-sizing:border-box}
:root{
  --bg:#f4f6fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#7b8798;
  --line:#e6ebf2;
  --blue:#2f6fed;
  --blue-soft:#edf3ff;
  --navy:#0b1830;
}
html{scroll-behavior:smooth}
body{
  margin:0;
  direction:rtl;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,Arial,sans-serif;
  padding-bottom:105px;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}

/* HEADER */
.v3-header{
  position:sticky;
  top:0;
  z-index:1000;
  height:78px;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
  box-shadow:0 8px 26px rgba(20,40,80,.05);
}
.v3-brand{
  display:flex;
  align-items:center;
  gap:11px;
}
.v3-logo{
  width:54px;
  height:54px;
  border-radius:17px;
  overflow:hidden;
  background:#0b1830;
}
.v3-logo img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.v3-brand-text strong{
  display:block;
  font-size:21px;
  font-weight:900;
}
.v3-brand-text span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:11px;
  letter-spacing:.8px;
}
.v3-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.v3-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  color:var(--blue);
  font-size:19px;
}

/* MAIN */
.v3-main{
  width:min(1180px,calc(100% - 24px));
  margin:22px auto;
}

/* HERO */
.v3-hero{
  padding:34px;
  border-radius:28px;
  background:linear-gradient(135deg,#0a1730,#113d72);
  color:#fff;
  box-shadow:0 22px 55px rgba(10,28,60,.16);
}
.v3-hero small{
  color:#94dfff;
  font-weight:900;
  letter-spacing:1.4px;
}
.v3-hero h1{
  margin:12px 0 10px;
  font-size:40px;
  line-height:1.3;
}
.v3-hero p{
  margin:0;
  color:#cad5e2;
  line-height:1.9;
  max-width:680px;
}
.v3-hero-btn{
  margin-top:20px;
  display:inline-flex;
  min-height:48px;
  padding:0 22px;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#fff;
  color:#0b1830;
  font-weight:900;
}

/* SECTION */
.v3-section{
  margin-top:34px;
}
.v3-section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:14px;
  margin-bottom:15px;
}
.v3-section-head h2{
  margin:0;
  font-size:27px;
}
.v3-section-head span{
  color:var(--blue);
  font-size:13px;
  font-weight:800;
}

/* PRODUCT GRID */
.v3-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.v3-card{
  overflow:hidden;
  border-radius:22px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 10px 30px rgba(20,40,80,.06);
}
.v3-card-img{
  width:100%;
  aspect-ratio:1/1;
  background:#edf1f6;
  overflow:hidden;
}
.v3-card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.v3-card-body{
  padding:14px;
}
.v3-card-body h3{
  margin:0 0 7px;
  font-size:17px;
}
.v3-card-body p{
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.v3-card-btn{
  margin-top:12px;
  width:100%;
  min-height:42px;
  border-radius:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--blue);
  color:#fff;
  font-size:13px;
  font-weight:900;
}

/* BOTTOM NAV */
.v3-bottom{
  position:fixed;
  left:50%;
  bottom:10px;
  transform:translateX(-50%);
  z-index:1200;
  width:min(650px,calc(100% - 20px));
  padding:8px;
  display:flex;
  gap:4px;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(18px);
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow:0 18px 45px rgba(16,35,70,.16);
}
.v3-bottom a{
  flex:1;
  min-width:0;
  padding:8px 2px;
  text-align:center;
  border-radius:17px;
  color:#718096;
  font-size:11px;
}
.v3-bottom b{
  display:block;
  font-size:22px;
  line-height:1;
  margin-bottom:5px;
}
.v3-bottom a.active{
  color:var(--blue);
  background:var(--blue-soft);
}

/* MOBILE */
@media(max-width:760px){
  .v3-header{height:72px;padding:0 12px}
  .v3-logo{width:48px;height:48px;border-radius:15px}
  .v3-brand-text strong{font-size:19px}
  .v3-icon{width:40px;height:40px}

  .v3-main{
    width:calc(100% - 18px);
    margin-top:14px;
  }

  .v3-hero{
    padding:25px 20px;
    border-radius:22px;
  }

  .v3-hero h1{
    font-size:30px;
  }

  .v3-hero p{
    font-size:13px;
  }

  .v3-section-head h2{
    font-size:22px;
  }

  .v3-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }

  .v3-card{
    border-radius:18px;
  }

  .v3-card-body{
    padding:11px;
  }

  .v3-card-body h3{
    font-size:14px;
  }

  .v3-card-body p{
    font-size:10px;
  }

  .v3-card-btn{
    min-height:39px;
    font-size:11px;
  }

  .v3-bottom{
    bottom:8px;
    border-radius:23px;
  }
}
