:root{
  --ink: #0b1220;
  --ink-2: #111a2e;
  --shadow: 0 18px 60px rgba(0,0,0,.25);
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body{
  font-family: "Vazirmatn", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

.skip-link{
  position:absolute; top:-40px; left:12px;
  background:#fff; color:#000;
  padding:10px 12px; border-radius:12px;
  z-index:9999; box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.skip-link:focus{ top:12px; }

.site-header .navbar{
  background: linear-gradient(120deg, rgba(11,18,32, .95), rgba(17,26,46,.92));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.brand-mark{
  width: 14px; height: 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2b7fff, #40c3ff);
  display:inline-block;
  box-shadow: 0 8px 25px rgba(64,195,255,.35);
}

.hero{
  position:relative;
  padding: 72px 0 56px;
  color:#fff;
  background: radial-gradient(900px 520px at 20% 10%, rgba(43,127,255,.35), transparent 60%),
              radial-gradient(880px 520px at 90% 20%, rgba(64,195,255,.18), transparent 65%),
              linear-gradient(180deg, var(--ink), var(--ink-2));
  overflow:hidden;
}
.hero-glow{
  position:absolute; inset:-120px -120px auto auto;
  width:420px; height:420px;
  background: radial-gradient(circle at 30% 30%, rgba(43,127,255,.35), transparent 60%);
  filter: blur(10px);
}
.hero-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 70%);
  opacity:.75;
}
.text-white-75{ color: rgba(255,255,255,.78) !important; }

.hero-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.hero-metrics{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.metric{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 10px 12px;
}
.metric-title{ font-weight: 800; font-size: .85rem; opacity:.9; }
.metric-value{ font-size: .85rem; color: rgba(255,255,255,.76); }

.section{ padding: 62px 0; }
.section-alt{
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
  border-top: 1px solid rgba(17,26,46,.07);
  border-bottom: 1px solid rgba(17,26,46,.07);
}
.section-kicker{ font-weight: 800; margin-bottom: 10px; }
.section-title{ font-weight: 900; margin-bottom: 10px; }
.section-desc{ color: rgba(17,26,46,.78); line-height: 1.9; }

.spec-card{
  background:#fff;
  border: 1px solid rgba(17,26,46,.08);
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: 0 14px 30px rgba(17,26,46,.07);
  height: 100%;
}
.spec-label{ color: rgba(17,26,46,.55); font-size: .85rem; margin-bottom: 4px; }
.spec-value{ font-weight: 900; }
.spec-sub{ color: rgba(17,26,46,.62); font-size: .82rem; margin-top: 4px; }

.feature-box{
  background: linear-gradient(180deg, rgba(43,127,255,.06), rgba(64,195,255,.03));
  border: 1px solid rgba(43,127,255,.12);
  border-radius: 18px;
  padding: 16px;
}

.list-check{ padding-right: 1.1rem; }
.list-check li{ margin-bottom: .55rem; }

.img-frame{
  border-radius: 16px;
  overflow:hidden;
  border: 1px dashed rgba(17,26,46,.18);
  background: linear-gradient(135deg, rgba(17,26,46,.04), rgba(43,127,255,.04));
}
.img-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap: 6px;
  text-align:center;
  padding: 10px;
  color: rgba(17,26,46,.70);
}
.placeholder-title{ font-weight: 900; }
.placeholder-sub{ font-size: .9rem; opacity:.8; }

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

.note-card{
  background:#fff;
  border: 1px solid rgba(17,26,46,.08);
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: 0 14px 30px rgba(17,26,46,.07);
}
.note-title{ font-weight: 900; margin-bottom: 4px; }
.note-body{ color: rgba(17,26,46,.72); line-height: 1.9; }

.compare-table{
  background:#fff;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(17,26,46,.08);
  box-shadow: 0 14px 30px rgba(17,26,46,.07);
}
.compare-table thead th{
  background: rgba(17,26,46,.03);
  font-weight: 900;
}

.mini-card{
  background:#fff;
  border: 1px solid rgba(17,26,46,.08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 14px 30px rgba(17,26,46,.07);
  height: 100%;
}
.mini-title{ font-weight: 900; margin-bottom: 6px; }
.mini-text{ color: rgba(17,26,46,.72); line-height: 1.8; }

.cta{
  background: radial-gradient(900px 520px at 20% 10%, rgba(43,127,255,.35), transparent 60%),
              radial-gradient(880px 520px at 90% 20%, rgba(64,195,255,.20), transparent 65%),
              linear-gradient(180deg, var(--ink), var(--ink-2));
  border-radius: 22px;
  padding: 24px;
  color:#fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.12);
}

.contact-card{
  background:#fff;
  border: 1px solid rgba(17,26,46,.08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 14px 30px rgba(17,26,46,.07);
  height: 100%;
}
.contact-title{ font-weight: 900; margin-bottom: 6px; }
.contact-link{ font-weight: 700; color: #0b3a9c; text-decoration:none; }
.contact-link:hover{ text-decoration: underline; }

.footer{
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  color:#fff;
  padding: 28px 0 88px;
}

.mobile-nav{
  position: fixed;
  left: 12px; right: 12px; bottom: 10px;
  height: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 8px;
  z-index: 1050;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17,26,46,.12);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  padding: 8px;
  backdrop-filter: blur(10px);
}
.mobile-nav-item{
  border: 0;
  background: transparent;
  border-radius: 14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 3px;
  text-decoration:none;
  color: rgba(17,26,46,.88);
  font-weight: 800;
  font-size: .78rem;
}
.mobile-nav-item:hover{ background: rgba(17,26,46,.06); }
.mobile-ico{ font-size: 1.05rem; line-height: 1; }
.mobile-txt{ font-size: .72rem; opacity:.85; }

@media (max-width: 767.98px){
  body{ padding-bottom: 86px; }
  .hero-metrics{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: 1fr; }
}

.to-top{
  position: fixed;
  bottom: 92px;
  left: 16px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 16px;
  background: rgba(17,26,46,.92);
  color:#fff;
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  display:none;
  z-index: 1040;
}
.to-top.show{ display:inline-flex; align-items:center; justify-content:center; }

.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.noscript{
  position: fixed;
  inset: auto 12px 12px 12px;
  background: #fff;
  border: 1px solid rgba(17,26,46,.12);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  z-index: 2000;
}

.hero .container{ position: relative; z-index: 2; }
.hero-glow, .hero-grid{ pointer-events: none; z-index: 0; }

.img-frame.is-clickable{ cursor: zoom-in; }
.img-frame.is-clickable:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}
.img-frame.is-clickable:active{ transform: translateY(0); }
.gallery-modal .modal-content{
  background: rgba(11,18,32,.94);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}
.gallery-modal .btn-close{ filter: invert(1); }
.gallery-modal .carousel-caption{
  position: static;
  padding-top: 10px;
  color: rgba(255,255,255,.85);
}
.gallery-modal .carousel-item{
  text-align:center;
}
.gallery-modal .gallery-img{
  max-height: 72vh;
  width: 100%;
  object-fit: contain;
}
