@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-muted: #eef2f7;
  --text: #0f172a;
  --muted: #5b6475;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --navy: #0c1630;
  --surface: #ffffff;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.08);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-h: 64px;
  --ease: 220ms cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Vazirmatn", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 2.6vw, 3rem);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 0.93rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background-color var(--ease),
    border-color var(--ease),
    color var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.22);
}

.btn--primary:hover {
  background: var(--primary-dark);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn--ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--text);
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.skip-link {
  position: absolute;
  top: -50px;
  right: 10px;
  background: #fff;
  color: #111;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.skip-link:focus {
  top: 10px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition:
    background-color var(--ease),
    box-shadow var(--ease),
    backdrop-filter var(--ease),
    border-color var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(12, 22, 48, 0.78);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.12);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.brand__mark img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 500;
}

.nav a {
  opacity: 0.92;
  transition: color var(--ease), opacity var(--ease);
}

.nav a:hover {
  opacity: 1;
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.menu-toggle__line,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(2, 8, 23, 0.42) 0%, rgba(2, 8, 23, 0.58) 45%, rgba(2, 8, 23, 0.78) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 30px);
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 28px;
}

.hero__text {
  max-width: 620px;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero__subtitle {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.hero__actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__meta {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-device {
  width: min(100%, 420px);
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.26));
}

.hero__scroll {
  position: absolute;
  inset: auto 50% 16px auto;
  transform: translateX(50%);
  width: 30px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
  z-index: 3;
}

.hero__scroll::after {
  content: "";
  width: 6px;
  height: 9px;
  border-radius: 999px;
  background: #fff;
  animation: scrollDot 1.5s infinite ease-in-out;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(13px); opacity: 0.25; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Trust */
.trust {
  margin-top: -26px;
  position: relative;
  z-index: 4;
}

.trust__box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 18px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}

.trust__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust__stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 14px;
}

.trust__stat strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  line-height: 1.3;
}

.trust__stat span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.trust__logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.trust__logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 110px;
  min-height: 58px;
  display: grid;
  place-items: center;
}

.trust__logo img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
}

/* Features */
.features-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Steps */
.steps {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.step__num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Products */
.products {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 320px;
}

.product-card__media {
  background: linear-gradient(135deg, #fff7ea, #ffffff);
  display: grid;
  place-items: center;
  padding: 24px;
}

.product-card__media img {
  max-width: 250px;
  width: 100%;
  object-fit: contain;
}

.product-card__content {
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-card__content h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 800;
}

.product-card__content p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.product-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.product-list li {
  position: relative;
  padding-right: 16px;
  font-size: 0.92rem;
  color: var(--text);
}

.product-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

/* CTA band */
.cta-band {
  background: var(--primary);
  color: #fff;
  border-radius: 24px;
  padding: 28px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-md);
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.35;
  font-weight: 800;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.cta-band__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* FAQ */
.faq-list {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 999px;
  transform: translateY(-50%);
  transition: opacity var(--ease), transform var(--ease);
}

.faq-item summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] summary::after {
  opacity: 0;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 88px 0;
}

.final-cta__box {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  padding: 36px 24px;
}

.final-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.final-cta p {
  margin: 0 auto 20px;
  max-width: 620px;
  color: var(--muted);
  font-size: 0.96rem;
}

.final-cta__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 20px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 0.98rem;
  font-weight: 700;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.footer-brand__mark img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-meta {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: transform var(--ease), background-color var(--ease);
}

.footer-social a:hover {
  transform: translateY(-1px);
  background: rgba(245, 158, 11, 0.16);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1080px) {
  .hero__content,
  .trust__box,
  .site-footer__grid,
  .products {
    grid-template-columns: 1fr;
  }

  .hero__text {
    max-width: none;
    text-align: center;
  }

  .hero__actions,
  .hero__meta {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .trust__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .features-grid,
  .steps,
  .trust__stats {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 62px;
  }

  .section {
    padding: 72px 0;
  }

  .nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .site-header.is-menu-open .nav {
    display: flex;
    position: absolute;
    top: 62px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    background: rgba(12, 22, 48, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
  }

  .site-header.is-menu-open .nav a {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
  }

  .site-header.is-menu-open .header-actions {
    position: absolute;
    top: calc(62px + 230px);
    right: 16px;
    left: 16px;
    display: flex;
    gap: 10px;
  }

  .site-header.is-menu-open .header-actions .btn {
    display: inline-flex;
    flex: 1 1 0;
    min-width: 0;
  }

  .hero__content {
    padding-top: calc(var(--header-h) + 26px);
    padding-bottom: 56px;
  }

  .hero__actions,
  .final-cta__actions {
    flex-direction: column;
  }

  .hero__actions .btn,
  .final-cta__actions .btn,
  .cta-band__actions .btn {
    width: 100%;
  }

  .trust {
    margin-top: -16px;
  }

  .cta-band,
  .final-cta__box {
    border-radius: 22px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}