
@import url("https://cdn.jsdelivr.net/npm/shabnam-font@5.0.0/dist/font-face.min.css");

/* ================================================================
   Akhtar Electronic v3 — Persian typography
   ================================================================ */

html,
body,
button,
input,
textarea,
select,
option,
label,
p,
a,
span,
li,
strong,
small,
h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.nav-links,
.brand-text,
.card,
.step,
.contact-item {
  font-family: "Shabnam", Tahoma, Arial, sans-serif !important;
}

html,
body {
  font-weight: 400;
  font-synthesis: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.nav-links,
.brand-name {
  font-weight: 700;
}

.hero h1,
.page-hero h1,
.section h2,
.brand-name {
  letter-spacing: 0 !important;
}

.hero h1,
.page-hero h1 {
  line-height: 1.55;
}

.hero p,
.page-hero p,
.lead,
.card p,
.step p {
  line-height: 2.05;
}

.brand-top {
  font-weight: 400;
}

.brand-name {
  font-size: 18px;
}

@media (max-width: 620px) {
  .brand-name {
    font-size: 15px;
  }
}

@font-face {
  font-family: "VazirmatnFallback";
  src: local("Tahoma");
  font-display: swap;
}

:root {
  --bg: #07111f;
  --bg-soft: #0d1d31;
  --surface: #ffffff;
  --surface-soft: #f3f7fb;
  --text: #172033;
  --muted: #617089;
  --primary: #0b74de;
  --primary-dark: #0756a7;
  --accent: #23c5b5;
  --line: #dfe7f0;
  --shadow: 0 18px 48px rgba(13, 31, 52, .12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "VazirmatnFallback", Tahoma, Arial, sans-serif;
  direction: rtl;
  color: var(--text);
  background: #fff;
  line-height: 1.9;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -80px;
  right: 20px;
  z-index: 9999;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  border-radius: 10px;
}

.skip-link:focus {
  top: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 17, 31, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
}

.brand-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 8px 24px rgba(35,197,181,.25);
  font-size: 21px;
}

.brand-text small {
  display: block;
  color: #a9bad0;
  font-weight: 400;
  font-size: 11px;
  margin-top: -7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  display: block;
  color: #dce7f4;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,.09);
}

.nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary), #2795ff) !important;
  padding-inline: 18px !important;
}

.menu-toggle {
  display: none;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: #fff;
  border-radius: 12px;
  font-size: 23px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 25%, rgba(35,197,181,.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(11,116,222,.28), transparent 32%),
    linear-gradient(135deg, #07111f 0%, #0a2039 58%, #082b41 100%);
  padding: 98px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  color: #cce5ff;
  font-size: 13px;
}

.hero h1,
.page-hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(38px, 5vw, 69px);
  line-height: 1.25;
  letter-spacing: -.7px;
}

.hero h1 span {
  color: #65e1d5;
}

.hero p {
  color: #c4d2e3;
  font-size: 18px;
  max-width: 730px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2795ff);
  color: #fff;
  box-shadow: 0 12px 30px rgba(11,116,222,.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-light {
  color: #fff;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.07);
}

.btn-outline {
  color: var(--primary);
  border-color: #b8d5f3;
  background: #fff;
}

.hero-card {
  position: relative;
  padding: 31px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.circuit {
  height: 302px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at center, rgba(35,197,181,.28), transparent 36%),
    linear-gradient(135deg, rgba(11,116,222,.3), rgba(35,197,181,.08));
}

.circuit::before,
.circuit::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(255,255,255,.22);
  border-radius: 34px;
  transform: rotate(45deg);
}

.circuit::after {
  width: 155px;
  height: 155px;
  border-color: rgba(101,225,213,.54);
}

.chip {
  position: relative;
  z-index: 2;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #07111f;
  border: 2px solid #65e1d5;
  box-shadow: 0 0 50px rgba(101,225,213,.28);
  font-size: 38px;
  font-weight: 900;
}

.stats {
  position: relative;
  margin-top: -34px;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat {
  text-align: center;
  padding: 22px 15px;
  border-left: 1px solid var(--line);
}

.stat:last-child {
  border-left: 0;
}

.stat strong {
  display: block;
  color: var(--primary);
  font-size: 20px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-dark {
  color: #fff;
  background: var(--bg);
}

.section-head {
  max-width: 730px;
  margin-bottom: 38px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.kicker {
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
}

.section h2 {
  margin: 8px 0 13px;
  font-size: clamp(27px, 3.5vw, 43px);
  line-height: 1.45;
}

.section-head p,
.lead,
.card p {
  color: var(--muted);
}

.section-dark .section-head p,
.section-dark .lead {
  color: #b7c6d9;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  height: 100%;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 25px rgba(13,31,52,.05);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card,
.btn,
.nav-links a {
  transition: .22s ease;
}

.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--primary);
  background: #e8f3ff;
  font-size: 24px;
  margin-bottom: 17px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.list-check li {
  position: relative;
  padding-right: 31px;
  margin-bottom: 11px;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #087c70;
  background: #dffaf6;
  border-radius: 50%;
  font-weight: 900;
  font-size: 13px;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 82px 30px 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  right: 24px;
  top: 29px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}

.step h3 {
  margin: 0 0 7px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.cta {
  padding: 40px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 20%, rgba(35,197,181,.23), transparent 28%),
    linear-gradient(135deg, #0a3156, #07111f);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 40px);
}

.cta p {
  margin: 0;
  color: #b9c9dc;
}

.page-hero {
  color: #fff;
  padding: 78px 0 68px;
  background:
    radial-gradient(circle at 15% 20%, rgba(35,197,181,.18), transparent 30%),
    linear-gradient(135deg, #07111f, #0b2b4b);
}

.page-hero h1 {
  font-size: clamp(36px, 4.5vw, 58px);
  margin-bottom: 10px;
}

.page-hero p {
  color: #c3d1e1;
  max-width: 760px;
}

.breadcrumb {
  color: #90a8c0;
  font-size: 13px;
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 26px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 19px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.contact-item .icon-box {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin: 0;
}

.contact-item strong {
  display: block;
}

.contact-item span,
.contact-item a {
  color: var(--muted);
  word-break: break-word;
}

.form-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 23px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  font-size: 14px;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ccd8e6;
  border-radius: 12px;
  font: inherit;
  background: #fff;
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11,116,222,.1);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.notice {
  display: none;
  padding: 12px 14px;
  margin-top: 13px;
  border-radius: 12px;
  background: #e9fbf7;
  color: #096b60;
}

.notice.show {
  display: block;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
}

.socials a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
}

.socials a:hover {
  color: var(--primary);
  border-color: #b8d5f3;
}

.site-footer {
  color: #c1cede;
  background: #050c16;
  padding: 58px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .75fr .9fr;
  gap: 44px;
}

.footer-title {
  color: #fff;
  margin: 0 0 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: #65e1d5;
}

.footer-bottom {
  margin-top: 42px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.09);
  color: #8295aa;
  font-size: 13px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  margin: 3px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #1765ad;
  font-size: 12px;
}

.policy-note {
  padding: 18px;
  border-right: 4px solid var(--accent);
  border-radius: 14px;
  background: #effbf9;
  color: #275a55;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    background: #0a1829;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 15px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .grid-2,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 620px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-left: 0;
  }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    padding: 70px 0 68px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .section {
    padding: 64px 0;
  }

  .grid-3,
  .grid-4,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .cta {
    padding: 29px;
    flex-direction: column;
    align-items: flex-start;
  }

  .step {
    padding: 76px 22px 25px;
  }

  .step::before {
    right: 22px;
    top: 22px;
  }

  .brand-text small {
    display: none;
  }
}





/* ================================================================
   Akhtar Electronic v4 — Homepage engineering concept image
   ================================================================ */

.hero-image-card {
  padding: 14px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
}

.hero-main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, .30),
    0 0 0 1px rgba(101, 225, 213, .14);
}

@media (max-width: 920px) {
  .hero-image-card {
    width: min(100%, 620px);
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .hero-image-card {
    padding: 9px;
    border-radius: 22px;
  }

  .hero-main-image {
    border-radius: 16px;
  }
}


/* ================================================================
   Akhtar Electronic v5 — Compact 300x300 homepage image
   ================================================================ */

.hero-image-card {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  padding: 14px;
}

.hero-main-image {
  width: 300px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  object-fit: contain;
}

@media (max-width: 620px) {
  .hero-image-card {
    max-width: 330px;
    padding: 10px;
  }

  .hero-main-image {
    width: min(300px, 100%);
  }
}
