/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f1b2d;
  --navy-dark: #0a1220;
  --navy-soft: #1b2c46;
  --orange: #f2731d;
  --orange-dark: #d95f10;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f5;
  --gray-200: #e2e6ec;
  --gray-400: #97a1b0;
  --gray-600: #5b6472;
  --text: #1c2531;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 27, 45, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(15, 27, 45, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Vazirmatn", Tahoma, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

button, input { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-toggle-state { display: none; }

/* ===== Top bar ===== */
.topbar {
  background: var(--navy-dark);
  color: var(--gray-200);
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  letter-spacing: 0.2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 26px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(242, 115, 29, 0.55);
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn--outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.btn--light {
  background: var(--white);
  color: var(--navy);
}
.btn--light:hover { background: var(--gray-100); transform: translateY(-2px); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--outline-light:hover { border-color: var(--white); transform: translateY(-2px); }

.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 15px 32px; font-size: 16px; }

/* ===== Header ===== */
.header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 900;
  font-size: 20px;
}
.logo__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
}
.logo__icon svg { width: 20px; height: 20px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--gray-200);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}
.nav a:hover { color: var(--white); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy-soft);
  padding: 8px 24px 20px;
}
.nav-mobile a {
  color: var(--gray-200);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}
.nav-mobile a:last-child { border-bottom: none; }

#nav-toggle:checked ~ .header .nav-mobile { display: flex; }
#nav-toggle:checked ~ .header .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle:checked ~ .header .nav-toggle span:nth-child(2) { opacity: 0; }
#nav-toggle:checked ~ .header .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Section header (shared) ===== */
.section__header {
  max-width: 620px;
  margin-bottom: 48px;
}
.section__header--right { margin-inline-start: 0; margin-inline-end: auto; text-align: right; }

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.eyebrow--center { display: block; text-align: center; }

.section__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.4;
}
.section--center .section__title,
.categories .section__header,
.products .section__header,
.features .section__header,
.how-it-works .section__header,
.brands .section__header,
.testimonials .section__header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.categories .section__title,
.products .section__title,
.features .section__title,
.how-it-works .section__title,
.brands .section__title,
.testimonials .section__title { text-align: center; }

.section__subtitle {
  color: var(--gray-600);
  font-size: 16px;
}
.categories .section__subtitle,
.products .section__subtitle,
.features .section__subtitle,
.testimonials .section__subtitle { text-align: center; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 60%, #24395c 100%);
  color: var(--white);
  overflow: hidden;
  padding: 90px 0 110px;
}

.hero__bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.35;
  pointer-events: none;
}
.hero__bg-shape--1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, var(--orange), transparent 70%);
  top: -140px;
  left: -120px;
}
.hero__bg-shape--2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 60% 60%, #3a5580, transparent 70%);
  bottom: -120px;
  right: -80px;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero__content .eyebrow {
  background: rgba(242, 115, 29, 0.15);
  padding: 6px 16px;
  border-radius: 999px;
}

.hero__title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 20px;
}
.hero__title span { color: var(--orange); }

.hero__subtitle {
  color: var(--gray-200);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.hero .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.hero .btn--outline:hover { border-color: var(--orange); color: var(--orange); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-200);
  font-size: 14px;
  font-weight: 500;
}
.hero__trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
  flex-shrink: 0;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.hero__gear {
  position: absolute;
  color: rgba(255, 255, 255, 0.18);
  animation: spin 18s linear infinite;
}
.hero__gear--big { width: 300px; height: 300px; }
.hero__gear--small {
  width: 170px;
  height: 170px;
  color: rgba(242, 115, 29, 0.35);
  top: 55%;
  left: 15%;
  animation-duration: 12s;
  animation-direction: reverse;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero__badge {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  text-align: center;
}
.hero__badge strong { font-size: 26px; color: var(--orange); font-weight: 900; }
.hero__badge span { font-size: 13px; color: var(--gray-200); margin-top: 4px; }

/* ===== Categories ===== */
.categories { padding: 90px 0; background: var(--white); }

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

.category-card {
  display: block;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.category-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(242, 115, 29, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.category-card__icon svg { width: 26px; height: 26px; }
.category-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.category-card p { font-size: 13.5px; color: var(--gray-600); }

/* ===== Products ===== */
.products { padding: 90px 0; background: var(--gray-50); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.product-card__tile {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.product-card__tile svg { width: 56px; height: 56px; opacity: 0.9; }

.product-card__tile--1 { background: linear-gradient(135deg, #f2731d, #c94a0e); }
.product-card__tile--2 { background: linear-gradient(135deg, #2a4470, #16233d); }
.product-card__tile--3 { background: linear-gradient(135deg, #3d6e8f, #1c3c52); }
.product-card__tile--4 { background: linear-gradient(135deg, #d9862a, #a85e14); }
.product-card__tile--5 { background: linear-gradient(135deg, #46587a, #232f47); }
.product-card__tile--6 { background: linear-gradient(135deg, #5a7091, #2c3b56); }

.product-card__badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: var(--white);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.product-card__body { padding: 20px; }
.product-card__body h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.product-card__tag {
  display: inline-block;
  font-size: 12.5px;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.product-card__price-row { display: flex; align-items: center; justify-content: space-between; }
.product-card__price { font-size: 17px; font-weight: 900; color: var(--orange); }
.product-card__price small { font-size: 12px; font-weight: 500; color: var(--gray-600); }

.products__more { display: flex; justify-content: center; }

/* ===== Stats ===== */
.stats { background: var(--navy); padding: 56px 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 24px;
}
.stat__number {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 6px;
}
.stat__label { color: var(--gray-200); font-size: 14px; }

/* ===== Features ===== */
.features { padding: 90px 0; background: var(--white); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--gray-50);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(242, 115, 29, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.feature-card__icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: 13.5px; color: var(--gray-600); }

/* ===== How it works ===== */
.how-it-works { padding: 90px 0; background: var(--gray-50); }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.step__number svg { width: 24px; height: 24px; }
.step h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--gray-600); }

/* ===== Brands ===== */
.brands { padding: 70px 0; background: var(--white); }
.brands__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.brand-badge {
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}
.brand-badge:hover { background: var(--orange); color: var(--white); }

/* ===== Testimonials ===== */
.testimonials { padding: 90px 0; background: var(--gray-50); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.testimonial__stars {
  display: flex;
  gap: 4px;
  color: var(--orange);
  margin-bottom: 16px;
}
.testimonial__stars svg { width: 16px; height: 16px; }
.testimonial__text {
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 22px;
  line-height: 1.9;
}
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial__author > div { display: flex; flex-direction: column; }
.testimonial__name { font-weight: 700; font-size: 14px; color: var(--navy); }
.testimonial__role { font-size: 12.5px; color: var(--gray-600); }

/* ===== FAQ ===== */
.faq { padding: 90px 0; background: var(--white); }
.faq__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--orange);
  font-weight: 400;
  margin-inline-start: 12px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gray-600);
}

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  padding: 60px 0;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner__text h2 { color: var(--white); font-size: 26px; font-weight: 900; margin-bottom: 10px; }
.cta-banner__text p { color: rgba(255, 255, 255, 0.9); font-size: 15px; max-width: 480px; }
.cta-banner__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: var(--navy-dark); color: var(--gray-200); padding-top: 70px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand p { font-size: 13.5px; color: var(--gray-400); margin: 18px 0 20px; max-width: 300px; }
.logo--footer { color: var(--white); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-200);
  transition: background 0.2s ease, color 0.2s ease;
}
.footer__social a:hover { background: var(--orange); color: var(--white); }
.footer__social svg { width: 18px; height: 18px; }

.footer__col h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer__links, .footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { color: var(--gray-400); font-size: 13.5px; transition: color 0.2s ease; }
.footer__links a:hover { color: var(--orange); }
.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-400);
  font-size: 13.5px;
  line-height: 1.6;
}
.footer__contact svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }

.footer__newsletter {
  display: flex;
  margin-top: 22px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.footer__newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: var(--white);
  font-size: 13px;
  outline: none;
}
.footer__newsletter input::placeholder { color: var(--gray-400); }
.footer__newsletter button {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 0 22px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.footer__newsletter button:hover { background: var(--orange-dark); }

.footer__bottom { padding: 22px 0; }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--gray-400);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 220px; }
  .faq__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav, .header__actions .btn--primary { display: none; }
  .nav-toggle { display: flex; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .category-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }
  .hero { padding: 60px 0 80px; }
  .section__header { text-align: center; margin-left: auto; margin-right: auto; }
  .section__header--right { text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions, .hero__trust { flex-direction: column; align-items: flex-start; }
  .hero__trust { align-items: flex-start; }
  .btn--lg { width: 100%; }
}
