
html,
body,
button,
input,
textarea,
select {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
  font-family: Vazirmatn, Arial, sans-serif;
  color: #eaf1fb;
  background: #07111f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #07111f;
  color: #eaf1fb;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,17,31,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #17283d;
}

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

.brand img {
  width: 140px;
  height: 58px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #9eb0c6;
  font-size: 14px;
}

nav a:hover,
nav a.active {
  color: white;
}

.cart-button {
  border: 1px solid #31516e;
  background: #102238;
  color: white;
  border-radius: 10px;
  padding: 10px 15px;
}

.cart-button span {
  display: inline-grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  margin-right: 6px;
  border-radius: 50%;
  background: #eaf1fb;
  color: #07111f;
  font-size: 12px;
  font-weight: 800;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  padding: 0;
  margin: 0;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.hero {
  padding: 90px 0 75px;
  border-bottom: 1px solid #14263a;
  background:
    radial-gradient(circle at 75% 20%, #16375d 0, transparent 34%),
    linear-gradient(180deg,#081422,#07111f);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}

.eyebrow,
.label {
  color: #70a8dc;
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(40px,5vw,64px);
  line-height: 1.25;
  letter-spacing: -.05em;
  margin: 18px 0;
}

.hero h1 span {
  color: #79b8ff;
}

.hero p {
  color: #91a5bc;
  font-size: 17px;
  line-height: 2;
  max-width: 670px;
}

.hero-card {
  border: 1px solid #28445f;
  background: #0a1929;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 30px 80px #0005;
}

.hero-card-title {
  font-weight: 700;
  margin-bottom: 25px;
}

.steps {
  display: grid;
  gap: 0;
}

.steps div {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 17px 0;
  border-bottom: 1px solid #1d344b;
}

.steps div:last-child {
  border-bottom: 0;
}

.steps b {
  color: #70a8dc;
  font-size: 12px;
}

.steps span {
  color: #b9c9d9;
  font-size: 14px;
}

.products-section {
  padding: 75px 0 100px;
}

.section-head {
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: 34px;
  margin: 10px 0;
}

.section-head p,
.muted {
  color: #91a5bc;
  line-height: 1.9;
}

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

.product {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 25px;
  border: 1px solid #1c3047;
  background: #0a1828;
  border-radius: 17px;
  transition: .2s;
}

.product:hover {
  transform: translateY(-3px);
  border-color: #345674;
}

.product-number {
  color: #577b9d;
  font-size: 12px;
}

.product h3 {
  font-size: 20px;
  margin: 20px 0 10px;
}

.product p {
  color: #91a5bc;
  font-size: 13px;
  line-height: 1.9;
  flex: 1;
}

.price {
  font-size: 22px;
  font-weight: 800;
  margin: 20px 0;
}

.price small {
  color: #8499ae;
  font-size: 11px;
  font-weight: 400;
}

.primary,
.secondary {
  border-radius: 10px;
  padding: 13px 18px;
  font-weight: 700;
}

.primary {
  border: 1px solid #eaf1fb;
  background: #eaf1fb;
  color: #07111f;
}

.secondary {
  border: 1px solid #2b4663;
  background: transparent;
  color: #eaf1fb;
}

.full {
  width: 100%;
}

.loading {
  grid-column: 1 / -1;
  padding: 50px;
  text-align: center;
  color: #91a5bc;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #0009;
}

.hidden {
  display: none !important;
}

.cart-panel {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  width: min(460px, 100%);
  height: 100vh;
  background: #081422;
  border-left: 1px solid #29445e;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .25s ease;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-head {
  padding: 25px;
  border-bottom: 1px solid #1c3047;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-head h2 {
  margin: 7px 0 0;
}

.close {
  border: 0;
  background: transparent;
  color: white;
  font-size: 32px;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 20px;
}

.cart-item {
  border: 1px solid #20374e;
  border-radius: 13px;
  padding: 15px;
  margin-bottom: 12px;
}

.cart-item-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty button {
  width: 28px;
  height: 28px;
  border: 1px solid #2c4963;
  border-radius: 7px;
  background: #102238;
  color: white;
}

.remove {
  border: 0;
  background: transparent;
  color: #8da3b8;
  font-size: 12px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #1c3047;
}

.total-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.total-row strong,
.summary-total strong {
  font-size: 20px;
}

.checkout-section {
  padding: 80px 0;
  background: #0a1726;
  border-top: 1px solid #172a40;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
}

.checkout-grid h2 {
  font-size: 34px;
  margin: 10px 0;
}

.order-form {
  margin-top: 30px;
  padding: 25px;
  border: 1px solid #1c3047;
  border-radius: 16px;
  background: #081422;
}

.order-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: #b8c7d8;
  font-size: 13px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #294057;
  border-radius: 10px;
  background: #071422;
  color: white;
  padding: 12px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #5f91bd;
}

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

.checkout-summary {
  align-self: start;
  padding: 25px;
  border: 1px solid #1c3047;
  border-radius: 16px;
  background: #081422;
}

.checkout-summary h3 {
  font-size: 22px;
  margin: 10px 0 25px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid #1c3047;
  font-size: 13px;
}

.summary-item span {
  color: #9eb0c6;
}

.summary-total {
  margin-top: 20px;
}

.error {
  margin-top: 15px;
  padding: 12px;
  border: 1px solid #6b3940;
  border-radius: 9px;
  color: #ffb8c0;
  background: #32171d;
  font-size: 13px;
}

.success-section {
  padding: 90px 0;
}

.success-card {
  max-width: 760px;
  margin: auto;
  padding: 50px;
  text-align: center;
  border: 1px solid #28445f;
  background: #0a1929;
  border-radius: 20px;
}

.success-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #123a2a;
  color: #8fd3a9;
  font-size: 34px;
}

.success-card h1 {
  font-size: 35px;
}

.success-card p {
  color: #91a5bc;
  line-height: 2;
}

.order-numbers {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin: 35px 0;
}

.order-numbers div {
  padding: 18px 10px;
  border: 1px solid #20374e;
  border-radius: 12px;
}

.order-numbers span {
  display: block;
  color: #71879d;
  font-size: 11px;
  margin-bottom: 8px;
}

.order-numbers strong {
  font-size: 13px;
  word-break: break-word;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

footer {
  border-top: 1px solid #17283d;
  background: #06101c;
  padding: 45px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  color: #71869c;
  font-size: 13px;
}

.footer-inner img {
  width: 145px;
  height: 55px;
  object-fit: contain;
}

.footer-inner a {
  display: block;
  margin-bottom: 9px;
}

@media(max-width:850px) {
  .hero-inner,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

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

  nav {
    display: none;
  }

  .menu {
    display: block;
    font-size: 25px;
  }

  .nav {
    position: relative;
  }

  nav.open {
    display: flex;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(7,17,31,.98);
    border: 1px solid #17283d;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 35px rgba(0,0,0,.35);
  }

  nav.open a {
    display: block;
    padding: 13px 12px;
    border-radius: 8px;
  }

  nav.open a:hover,
  nav.open a.active {
    background: #102238;
    color: white;
  }

  .hero {
    padding-top: 60px;
  }
}

@media(max-width:600px) {
  .container {
    width: calc(100% - 26px);
  }

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

  .order-numbers {
    grid-template-columns: 1fr;
  }

  .success-card {
    padding: 30px 18px;
  }

  .success-actions {
    flex-direction: column;
  }

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