@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --navy: #020d25;
  --navy2: #07183b;
  --blue: #1e7cff;
  --cyan: #27c8ff;
  --purple: #974cff;
  --green: #43d49a;
  --text: #111827;
  --muted: #64748b;
  --line: #e7eaf1;
  --soft: #f7f8fb;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}
button,
a {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.hero {
  min-height: 590px;
  background:
    radial-gradient(
      circle at 15% 55%,
      rgba(18, 105, 255, 0.22),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 25%,
      rgba(132, 53, 255, 0.16),
      transparent 28%
    ),
    linear-gradient(135deg, #02091d, #031333 55%, #071b42);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% 30%;
  height: 430px;
  background: radial-gradient(
    ellipse,
    rgba(34, 113, 255, 0.13),
    transparent 70%
  );
  pointer-events: none;
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

.logo {
  font-weight: 900;
  letter-spacing: -1px;
  font-size: 20px;
  line-height: 1.05;
}
.logo span {
  color: #6ee7c0;
}
.logo small {
  display: block;
  color: #aebbd0;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 5px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 11.5px;
  color: #d8e0ef;
  font-weight: 500;
}

.nav-cta {
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 22px;
  background: linear-gradient(90deg, #a64df5, #227dff);
  box-shadow: 0 6px 18px rgba(77, 89, 255, 0.28);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  min-height: 508px;
  display: block;
  position: static;
  z-index: 2;
}

/* full-bleed image behind entire hero */
.hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  direction: ltr;
  pointer-events: none;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      transparent 28%,
      rgba(2, 9, 29, 0.7) 62%,
      rgba(2, 9, 29, 0.88) 100%
    ),
    linear-gradient(0deg, rgba(2, 13, 37, 0.45), transparent 50%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  direction: rtl;
  text-align: right;
  padding: 50px 10px 60px 15px;
  max-width: 520px;
  margin-right: 0;
  margin-left: auto;
}
.hero-copy h1 {
  font-size: 48px;
  line-height: 1.35;
  margin: 0 0 17px;
  font-weight: 900;
  letter-spacing: -1.5px;
}
.gradient-text {
  background: linear-gradient(90deg, #a84fff, #238eff, #65e2b7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p {
  color: #c1cde0;
  line-height: 2.05;
  font-size: 15px;
  max-width: 520px;
  margin: 0 0 24px;
}
.benefits {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  margin: 15px 0 24px;
}
.benefit {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #fff;
}
.benefit .ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.benefit:nth-child(1) .ico {
  border: 1px solid #43d49a;
  color: #43d49a;
}
.benefit:nth-child(2) .ico {
  border: 1px solid #974cff;
  color: #974cff;
}
.benefit:nth-child(3) .ico {
  border: 1px solid #1e7cff;
  color: #1e7cff;
}
.benefit small {
  display: block;
  color: #8ea2bd;
  font-size: 11px;
  margin-top: 3px;
}
.hero-actions {
  display: flex;
  gap: 10px;
}
.btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  padding: 12px 25px;
  cursor: pointer;
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.btn.primary {
  border: 0;
  background: linear-gradient(90deg, #b24cff, #187fff);
  box-shadow: 0 7px 18px rgba(110, 73, 255, 0.28);
}
.btn .arrow {
  margin-left: 7px;
}

.trust {
  background: #fff;
  margin-top: -1px;
  position: relative;
  z-index: 5;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -5px 24px rgba(0, 0, 0, 0.08);
  padding: 22px 0;
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.trust-label {
  color: #555;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.brands {
  width: 72%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand-logo {
  display: block;
  width: auto;
  height: 42px;
  object-fit: contain;
  object-position: center; /* Same visual effect as your original brands-img element. */
  filter: grayscale(1);
  opacity: 0.75;
  transition:
    opacity 0.2s ease,
    filter 0.2s ease;
} /* Individual logo dimensions */
.brand-saderat {
  width: 105px;
}
.brand-mellat {
  width: 75px;
}
.brand-mci {
  width: 90px;
}
.brand-kalleh {
  width: 75px;
}
.brand-irancell {
  width: 75px;
}
.brand-snapp {
  width: 85px;
} /* Optional hover effect */
.brand-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.section {
  padding: 30px 0 20px;
}
.section-title {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.section-title::before,
.section-title::after {
  content: "";
  width: 40px;
  height: 1px;
  background: #242b38;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.solution {
  min-height: 230px;
  border: 1px solid #eef0f4;
  border-radius: 11px;
  padding: 14px 10px 13px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #fafbfc);
  transition: 0.2s;
  position: relative;
}
.solution:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(22, 40, 80, 0.09);
}
.solution .icon {
  width: 53px;
  height: 53px;
  margin: 0 auto 11px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 25px;
  border: 1px solid currentColor;
}
.solution h3 {
  font-size: 12px;
  margin: 0 0 7px;
}
.solution p {
  font-size: 12px;
  color: #707987;
  line-height: 1.9;
  margin: 0 0 10px;
}
.solution a {
  font-size: 10px;
  font-weight: 700;
  color: inherit;
}

.s1 {
  color: #e83c88;
  background: linear-gradient(#fff, #fff8fb);
}
.s2 {
  color: #2c9d88;
  background: linear-gradient(#fff, #f4fbf8);
}
.s3 {
  color: #2386d7;
  background: linear-gradient(#fff, #f5faff);
}
.s4 {
  color: #e19b44;
  background: linear-gradient(#fff, #fff9ef);
}
.s5 {
  color: #8651df;
  background: linear-gradient(#fff, #faf6ff);
}
.s6 {
  color: #43a36f;
  background: linear-gradient(#fff, #f4fbf7);
}

.industries {
  padding-top: 10px;
}
.industry-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1.05fr 1.05fr 1.05fr 1.05fr 1.25fr;
  gap: 7px;
  direction: rtl;
}
.industry {
  height: 145px;
  border-radius: 9px;
  overflow: hidden;
  position: relative;
  background: #13203c;
  color: #fff;
  border: 1px solid #e5e9f1;
}
.industry img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.67) saturate(0.9);
}
.industry::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 60%);
}
.industry .label {
  position: absolute;
  bottom: 10px;
  right: 9px;
  left: 9px;
  z-index: 2;
  text-align: right;
  font-size: 10px;
  font-weight: 800;
}
.industry .en {
  display: block;
  direction: ltr;
  text-align: right;
  font-size: 7px;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 3px;
}
.industry.more {
  background: linear-gradient(135deg, #4267ef, #833df4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.industry.more::after {
  display: none;
}

.industry.more span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
}

.category-icon {
  width: 32px;
  height: 32px;
  color: #fff;
  flex-shrink: 0;
}

.stats {
  height: 126px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #080c43, #101a69, #07133f);
  border-radius: 10px;
  color: #fff;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 100%;
}
.stat {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}
.stat:last-child {
  border-left: 0;
}
.stat strong {
  display: block;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 900;
  background: linear-gradient(90deg, #5ed7ff, #74e5b5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}
.stat span {
  display: block;
  font-size: 12px;
  color: #d5d9eb;
  text-align: center;
}
.stat small {
  display: block;
  font-size: 10px;
  color: #8b98c5;
  text-align: center;
}

.demo {
  height: 186px;
  margin-bottom: 20px;
  border-radius: 9px;
  background: linear-gradient(100deg, #f2f4ff, #fbfbff);
  display: grid;
  grid-template-columns: 1fr 1.7fr 0.8fr;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  border: 1px solid #e8ebf5;
}
.demo-copy {
  text-align: right;
  padding: 15px 20px;
}
.demo-copy h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  text-align: right;
}
.demo-copy p {
  margin: 0;
  color: #5e6778;
  font-size: 13px;
  line-height: 1.8;
  text-align: right;
}
.demo-btn {
  justify-self: center;
  text-align: center;
}
.demo-btn p {
  margin: 8px 0 0;
  font-size: 10px;
  color: #5e6778;
}
.demo-art {
  height: 186px;
  overflow: hidden;
  width: 100%;
}
.demo-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    background:
      radial-gradient(
        circle at 20% 40%,
        rgba(18, 105, 255, 0.28),
        transparent 40%
      ),
      radial-gradient(
        circle at 80% 20%,
        rgba(132, 53, 255, 0.22),
        transparent 35%
      ),
      linear-gradient(145deg, #02091d 0%, #031333 45%, #0a1f4a 100%);
  }

  .hero-visual {
    display: none;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    max-width: 100%;
    margin: 0;
    padding: 36px 8px 48px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p {
    max-width: 100%;
  }

  .benefits {
    flex-wrap: wrap;
    gap: 16px;
  }

  .solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-row {
    flex-direction: column;
  }

  .brands-img {
    width: 100%;
  }

  .demo {
    grid-template-columns: 1fr;
    padding: 15px;
    height: auto;
  }

  .demo-art {
    display: none;
  }

  .demo-btn {
    margin-top: 10px;
  }

  .stats {
    height: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat {
    min-height: 90px;
    padding: 12px 6px;
  }
  .trust {
    padding: 18px 0;
  }
  .trust-row {
    flex-direction: column;
    gap: 16px;
  }
  .trust-label {
    font-size: 11px;
  }
  .brands {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 25px;
  }
  .brand-logo {
    height: 32px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero-copy {
    padding: 28px 4px 40px;
  }

  .hero-copy h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .hero-copy p {
    font-size: 13px;
  }

  .benefits {
    gap: 12px;
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat strong {
    font-size: 16px;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 10px;
  }
  .brands {
    gap: 16px 20px;
  }
  .brand-logo {
    height: 28px;
  }
  .brand-saderat {
    width: 75px;
  }
  .brand-mellat {
    width: 50px;
  }
  .brand-mci {
    width: 65px;
  }
  .brand-kalleh {
    width: 50px;
  }
  .brand-irancell {
    width: 55px;
  }
  .brand-snapp {
    width: 60px;
  }
}
