:root {
  --brand-blue: #1700a8;
  --brand-blue-dark: #09005d;
  --brand-violet: #3b00ee;
  --electric-blue: #2dc8ff;
  --ink: #0e1464;
  --white: #ffffff;
  --soft-white: rgba(255, 255, 255, 0.88);
  --border: rgba(39, 67, 219, 0.22);
  --shadow: 0 32px 80px rgba(6, 2, 75, 0.3);
  --radius: 34px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: "Vazirmatn", "IRANSansX", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: #070044;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

.landing-page {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  isolation: isolate;
  overflow: hidden;
}

.background,
.background-overlay,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.background {
  z-index: -4;
  background-image: url("./assets/maral-store-lineart.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.025);
  filter: saturate(0.92) contrast(0.98);
}

.background-overlay {
  z-index: -3;
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(255, 255, 255, 0.98) 0,
      rgba(255, 255, 255, 0.95) 20%,
      rgba(255, 255, 255, 0.84) 34%,
      rgba(255, 255, 255, 0.44) 55%,
      rgba(7, 0, 68, 0.16) 76%,
      rgba(7, 0, 68, 0.68) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 0, 44, 0.12) 0%,
      rgba(255, 255, 255, 0.05) 44%,
      rgba(3, 0, 44, 0.32) 100%
    );
}

.noise {
  z-index: -2;
  opacity: 0.035;
  background-image:
    linear-gradient(90deg, #000 1px, transparent 1px),
    linear-gradient(#000 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}

.hero {
  width: min(100%, 1540px);
  min-height: calc(100svh - 50px);
  margin: 0 auto;
  padding:
    max(22px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    26px
    max(20px, env(safe-area-inset-left));
  display: grid;
  place-items: center;
}

.hero-card {
  position: relative;
  width: min(710px, 100%);
  min-height: 650px;
  padding: 54px 58px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.91),
      rgba(255, 255, 255, 0.76)
    );
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(53, 79, 226, 0.08);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    linear-gradient(
      130deg,
      rgba(255, 255, 255, 0.95),
      rgba(45, 200, 255, 0.42),
      rgba(59, 0, 238, 0.36),
      rgba(255, 255, 255, 0.86)
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 410px;
  height: 410px;
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(45, 200, 255, 0.28);
  filter: blur(74px);
  pointer-events: none;
}

.logo-wrap {
  position: relative;
  width: 218px;
  height: 218px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
}

.logo-glow {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background:
    conic-gradient(
      from 180deg,
      var(--brand-violet),
      var(--electric-blue),
      var(--brand-blue),
      var(--brand-violet)
    );
  filter: blur(22px);
  opacity: 0.28;
  animation: glowPulse 4.5s ease-in-out infinite;
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: 208px;
  height: 208px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 48px rgba(11, 0, 108, 0.2),
    0 0 0 1px rgba(23, 0, 168, 0.16);
}

.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  direction: ltr;
}

h1 {
  margin: 0;
  max-width: 580px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.55rem);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -0.045em;
}

.description {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(14, 20, 100, 0.72);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 2;
}

.domain {
  margin: 22px 0 30px;
  color: var(--brand-blue);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.28em;
}

.members-button {
  position: relative;
  min-width: 286px;
  min-height: 64px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--brand-violet) 0%,
      var(--brand-blue) 56%,
      var(--brand-blue-dark) 100%
    );
  box-shadow:
    0 17px 36px rgba(25, 0, 167, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  font-size: 1.15rem;
  font-weight: 850;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.members-button::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    linear-gradient(
      100deg,
      transparent 18%,
      rgba(255, 255, 255, 0.62) 48%,
      transparent 76%
    );
  transform: translateX(-130%);
  transition: transform 650ms ease;
}

.members-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 46px rgba(25, 0, 167, 0.38),
    0 0 26px rgba(45, 200, 255, 0.36);
}

.members-button:hover::before {
  transform: translateX(130%);
}

.members-button:active {
  transform: translateY(0) scale(0.985);
}

.members-button:focus-visible {
  outline: 4px solid rgba(45, 200, 255, 0.36);
  outline-offset: 4px;
}

.button-icon {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
}

.button-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-line {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 42%;
  height: 2px;
  transform: translateX(50%);
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--electric-blue),
      var(--brand-violet),
      transparent
    );
  box-shadow: 0 0 18px var(--electric-blue);
  animation: lineBreath 3.6s ease-in-out infinite;
}

.site-footer {
  min-height: 50px;
  padding:
    10px max(20px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.34);
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.04);
  }
}

@keyframes lineBreath {
  0%,
  100% {
    opacity: 0.52;
    width: 34%;
  }

  50% {
    opacity: 1;
    width: 52%;
  }
}

@media (max-width: 720px) {
  .background {
    background-position: 42% center;
    transform: scale(1.08);
  }

  .background-overlay {
    background:
      radial-gradient(
        circle at 50% 42%,
        rgba(255, 255, 255, 0.98) 0,
        rgba(255, 255, 255, 0.94) 36%,
        rgba(255, 255, 255, 0.62) 60%,
        rgba(7, 0, 68, 0.58) 100%
      );
  }

  .hero {
    min-height: calc(100svh - 40px);
    padding-top: max(16px, env(safe-area-inset-top));
    padding-bottom: 16px;
  }

  .hero-card {
    min-height: min(710px, calc(100svh - 72px));
    padding: 38px 22px 34px;
    border-radius: 28px;
  }

  .logo-wrap {
    width: 170px;
    height: 170px;
    margin-bottom: 24px;
  }

  .brand-logo {
    width: 162px;
    height: 162px;
    border-width: 6px;
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(1.8rem, 8.6vw, 2.55rem);
    line-height: 1.4;
  }

  .description {
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.9;
  }

  .domain {
    margin: 18px 0 26px;
    font-size: 0.76rem;
    letter-spacing: 0.2em;
  }

  .members-button {
    width: 100%;
    min-width: 0;
    min-height: 60px;
    border-radius: 16px;
  }
}

@media (max-height: 720px) and (min-width: 721px) {
  .hero-card {
    min-height: 560px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .logo-wrap {
    width: 160px;
    height: 160px;
    margin-bottom: 18px;
  }

  .brand-logo {
    width: 152px;
    height: 152px;
  }

  .description {
    margin-top: 14px;
  }

  .domain {
    margin: 14px 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
