:root {
  --lime: #a6ff00;
  --lime-2: #7bd500;
  --dark: #030608;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(166, 255, 0, 0.18);
  --white: #f5f7f8;
  --muted: #a4abb3;
}

* {
  letter-spacing: 0;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 18%, rgba(166, 255, 0, 0.16), transparent 24%),
    radial-gradient(circle at 92% 3%, rgba(166, 255, 0, 0.08), transparent 18%),
    linear-gradient(180deg, #020405 0%, #05090b 48%, #020405 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, #000, transparent 76%);
}

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

.site-shell {
  position: relative;
  z-index: 1;
}

.container-wide {
  width: min(100% - 48px, 1480px);
  margin-inline: auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 14px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    backdrop-filter 0.25s ease;
}

.navbar.scrolled {
  background: rgba(3, 6, 8, 0.82);
  border-bottom-color: rgba(166, 255, 0, 0.12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.nav-action {
  justify-self: start;
}

.nav-brand {
  justify-self: end;
}

.nav-menu {
  justify-self: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
  font-size: 1.7rem;
  color: #fff;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 50px;
}

.brand-mark span {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  transform: rotate(30deg);
}

.brand-mark span:nth-child(1) {
  right: 9px;
  top: 0;
  background: #8cff00;
}

.brand-mark span:nth-child(2) {
  right: 0;
  top: 18px;
  background: #ff8a00;
}

.brand-mark span:nth-child(3) {
  right: 18px;
  top: 18px;
  background: #18b9ff;
}

.navbar-nav .nav-link {
  color: #f0f3f4;
  font-size: 0.96rem;
  font-weight: 750;
  padding-inline: 1.08rem !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--lime);
}

.menu-toggler {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(166, 255, 0, 0.45);
  border-radius: 15px;
  color: var(--lime);
  background: rgba(166, 255, 0, 0.06);
  box-shadow: inset 0 0 18px rgba(166, 255, 0, 0.08);
}

.menu-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(166, 255, 0, 0.18);
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
  margin-left: 8px;
  box-shadow: 0 0 18px rgba(166, 255, 0, 0.9);
}

.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  color: #061007;
  font-weight: 950;
  background: linear-gradient(180deg, #b7ff13, #8dea00);
  box-shadow:
    0 0 28px rgba(166, 255, 0, 0.24),
    inset 0 -8px 18px rgba(35, 95, 0, 0.18);
}

.btn-neon:hover {
  color: #061007;
  transform: translateY(-1px);
  box-shadow:
    0 0 36px rgba(166, 255, 0, 0.34),
    inset 0 -8px 18px rgba(35, 95, 0, 0.18);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(166, 255, 0, 0.55);
  color: var(--lime);
}

.hero {
  position: relative;
  min-height: 680px;
  padding: 48px 0 84px;
}

.hero-title {
  font-size: clamp(3rem, 5.4vw, 5.9rem);
  line-height: 1.34;
  font-weight: 1000;
  color: #fff;
}

.hero-title .accent {
  color: var(--lime);
  text-shadow: 0 0 34px rgba(166, 255, 0, 0.24);
}

.hero-copy {
  max-width: 650px;
  color: #c2c8cf;
  font-size: 1.16rem;
  line-height: 2.25;
  margin: 30px 0 40px;
}

.hero-art {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.neon-cube {
  position: absolute;
  width: 260px;
  height: 220px;
  border: 1px solid rgba(166, 255, 0, 0.45);
  background: linear-gradient(
    135deg,
    rgba(166, 255, 0, 0.22),
    rgba(166, 255, 0, 0.02)
  );
  filter: drop-shadow(0 0 42px rgba(166, 255, 0, 0.45));
  transform: rotate(30deg) skew(-10deg);
}

.neon-cube.one {
  right: 30px;
  top: 80px;
}

.neon-cube.two {
  left: 70px;
  bottom: 96px;
  width: 210px;
  height: 190px;
  opacity: 0.75;
}

.orbit {
  position: absolute;
  width: 590px;
  height: 170px;
  border: 2px solid rgba(166, 255, 0, 0.55);
  border-color: rgba(166, 255, 0, 0.55) transparent rgba(166, 255, 0, 0.25)
    transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
  filter: drop-shadow(0 0 18px rgba(166, 255, 0, 0.48));
}

.phone {
  position: relative;
  z-index: 2;
  width: 265px;
  height: 470px;
  border: 10px solid rgba(22, 31, 4, 0.22);
  border-radius: 44px;
  background: linear-gradient(
    135deg,
    rgba(166, 255, 0, 0.22),
    rgba(166, 255, 0, 0.02)
  );
  box-shadow:
    0 38px 72px rgba(0, 0, 0, 0.72),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-10deg);
}

.spark {
  height: 58px;
  border-bottom: 4px solid var(--lime);
  border-radius: 50% 20% 0 0;
  transform: skewX(-20deg);
  filter: drop-shadow(0 0 12px rgba(166, 255, 0, 0.7));
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 34px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.025)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.section-panel {
  padding: 46px 38px;
  margin-bottom: 38px;
}

.kicker {
  color: var(--lime);
  font-weight: 950;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.45;
  font-weight: 1000;
  margin: 0;
}

.section-copy {
  color: var(--muted);
  line-height: 2.1;
  font-size: 1rem;
}

.text-link {
  color: var(--lime);
  font-weight: 900;
}

.service-card {
  height: 100%;
  min-height: 292px;
  padding: 34px 28px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  background:
    radial-gradient(circle at 70% 0%, rgba(166, 255, 0, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.035);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover,
.project-card:hover {
  border-color: rgba(166, 255, 0, 0.36);
  transform: translateY(-7px);
  box-shadow: 16px 22px 48px -18px rgba(166, 255, 0, 0.28);
}

.icon-box {
  width: 66px;
  height: 88px;
  border: 1px solid rgba(166, 255, 0, 0.85);
  border-radius: 16px;
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin-bottom: 42px;
  box-shadow: inset 0 0 20px rgba(166, 255, 0, 0.08);
}

.service-card h3 {
  min-height: 58px;
  font-size: 1.2rem;
  font-weight: 950;
  margin-bottom: 16px;
}

.service-card p {
  flex: 1;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 2px;
}

.circle-arrow {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid var(--lime);
  border-radius: 50%;
  color: var(--lime);
  font-size: 0.95rem;
  margin-top: 10px;
  flex-shrink: 0;
}

.project-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 40% 35%,
      rgba(166, 255, 0, 0.16),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    );
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.project-card::before {
  content: "جای تصویر پروژه";
  position: absolute;
  inset: 28px 28px 82px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.58);
  border: 1px dashed rgba(166, 255, 0, 0.35);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.16);
}

.project-content {
  position: absolute;
  right: 30px;
  left: 30px;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.project-content h3 {
  font-size: 1.35rem;
  font-weight: 950;
  margin: 0;
}

.project-card::before {
  display: none;
}

.project-image {
  position: absolute;
  inset: 28px 28px 82px;
  border: 1px dashed rgba(166, 255, 0, 0.35);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.project-image img[src]:not([src=""]) + .project-image-placeholder {
  display: none;
}

.tag {
  padding: 8px 18px;
  border: 1px solid rgba(166, 255, 0, 0.6);
  border-radius: 999px;
  color: var(--lime);
  font-size: 0.82rem;
  white-space: nowrap;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin-top: 30px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dots span.active {
  background: var(--lime);
  box-shadow: 0 0 18px rgba(166, 255, 0, 0.8);
}

.stats-bar {
  border: 1px solid rgba(166, 255, 0, 0.75);
  border-radius: 28px;
  padding: 34px 44px;
  background:
    radial-gradient(
      circle at 50% 100%,
      rgba(166, 255, 0, 0.19),
      transparent 56%
    ),
    rgba(166, 255, 0, 0.035);
  box-shadow:
    0 0 36px rgba(166, 255, 0, 0.18),
    inset 0 0 24px rgba(166, 255, 0, 0.07);
}

.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.stat-number {
  font-size: 2.35rem;
  font-weight: 1000;
  color: #fff;
  line-height: 1;
}

.stat-label {
  color: #dce2e4;
  font-weight: 750;
  margin-top: 8px;
}

.stat-icon {
  color: var(--lime);
  font-size: 3rem;
  opacity: 0.9;
}

.footer-panel {
  padding: 52px 56px;
  margin: 58px 0 24px;
}

.newsletter {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 46px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  min-height: 58px;
  border: 1px solid rgba(166, 255, 0, 0.28);
  border-radius: 999px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  padding-inline: 18px;
}

.newsletter-form button {
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: #071005;
  font-weight: 950;
  padding-inline: 30px;
}

.footer-title {
  font-weight: 950;
  color: var(--lime);
  margin-bottom: 20px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2.35;
  color: #dce2e4;
}

.social a {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  margin-left: 12px;
  color: #fff;
  font-size: 1.15rem;
}

.contact-line {
  color: #e4eaed;
  line-height: 2.3;
}

.contact-line i {
  color: var(--lime);
  margin-right: 10px;
}

.copyright {
  color: #7f888f;
  text-align: center;
  padding: 0 0 30px;
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .container-wide {
    width: min(100% - 28px, 1480px);
  }

  .navbar {
    padding: 12px 0;
  }

  .nav-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
  }

  .nav-brand {
    order: 1;
  }

  .menu-toggler {
    order: 2;
  }

  .nav-menu {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    justify-self: stretch;
  }

  .nav-action {
    order: 4;
    width: 100%;
  }

  .navbar-nav {
    padding-block: 20px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-art {
    min-height: 520px;
  }

  .section-panel,
  .footer-panel {
    padding: 30px 20px;
  }

  .newsletter {
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 0;
    padding-bottom: 30px;
    margin-bottom: 24px;
  }
}

@media (max-width: 575.98px) {
  .hero-art {
    min-height: 430px;
  }

  .phone {
    width: 220px;
    height: 392px;
  }

  .orbit {
    width: 390px;
  }

  .neon-cube {
    width: 180px;
    height: 150px;
  }

  .project-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-form {
    border-radius: 20px;
    flex-direction: column;
  }

  .newsletter-form button {
    min-height: 46px;
  }
}
