/* ============ Reset ============ */
* {
  box-sizing: border-box;
}

/* ============ Base ============ */
body {
  margin: 0;
  min-height: 100vh;
  background-color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow-x: hidden;
}

/* ============ Background Blobs ============ */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.blob1 {
  width: 380px;
  height: 380px;
  top: 10%;
  left: 15%;
  background: #ff6ec4;
  animation: float1 14s ease-in-out infinite;
}

.blob2 {
  width: 420px;
  height: 420px;
  top: 50%;
  left: 70%;
  background: #7873f5;
  animation: float2 18s ease-in-out infinite;
}

.blob3 {
  width: 350px;
  height: 350px;
  top: 75%;
  left: 25%;
  background: #4facfe;
  animation: float3 11s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(120px, -80px) scale(1.2); }
  50%      { transform: translate(60px, 100px) scale(0.9); }
  75%      { transform: translate(-100px, 40px) scale(1.1); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30%      { transform: translate(-150px, 90px) scale(0.85); }
  60%      { transform: translate(-50px, -120px) scale(1.25); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(100px, -100px) scale(1.15); }
  70%      { transform: translate(-80px, -60px) scale(0.9); }
}

/* ============ Navbar ============ */
.navbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 14px 24px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.navbar .logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none;
  background: linear-gradient(90deg, #ff6ec4, #7873f5, #4facfe);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shineLogo 6s linear infinite;
}

.navbar .badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #d6d6e0;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

@keyframes shineLogo {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ============ Upside / Hero ============ */
.upside {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 80px auto 0;
  padding: 0 24px;
  text-align: center;
  color: #fff;
}

.upside .powered-by {
  font-family: 'Inter', sans-serif;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #c9c9da;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: 26px;
}

.upside h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 20px;
  letter-spacing: -1.2px;
  background: linear-gradient(90deg, #ffffff, #d8d8f0, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shineTitle 8s linear infinite;
}

.upside .subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  color: #a9a9bc;
  margin: 0 auto;
  max-width: 520px;
  letter-spacing: 0.1px;
}

@keyframes shineTitle {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ============ Download Box ============ */
.download-box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 90%;
  max-width: 560px;
  margin: 36px auto 0;
  padding: 8px;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.download-box:focus-within {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 0 0 3px rgba(120, 115, 245, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.link-input {
  flex: 1;
  min-width: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #f0f0f5;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 16px;
}

.link-input::placeholder {
  color: #8a8a9c;
}

.submit-btn {
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 11px;
  cursor: pointer;

  background: linear-gradient(90deg, #ff6ec4, #7873f5, #4facfe);
  background-size: 200% auto;
  background-position: 0% center;

  transition: background-position 0.4s ease, transform 0.15s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(120, 115, 245, 0.35);
}

.submit-btn:hover {
  background-position: 100% center;
  box-shadow: 0 6px 22px rgba(120, 115, 245, 0.5);
}

.submit-btn:active {
  transform: scale(0.96);
}

/* ============ Works Tag ============ */
.workstag {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 40px auto 0;
  padding: 0 24px;
  text-align: center;
}

.workstag h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #767688;
  margin: 0 0 16px;
}

.workstag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.workstag-item {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #c9c9da;
  padding: 8px 16px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);

  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, color 0.25s ease;
  cursor: default;
}

.workstag-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ============ Attributes / Features ============ */
.atrebute {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 64px auto 0;
  padding: 0 24px;
}

.atrebute-item {
  text-align: center;
  padding: 28px 22px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.atrebute-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.atrebute-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;

  background: linear-gradient(135deg, rgba(255, 110, 196, 0.18), rgba(120, 115, 245, 0.18), rgba(79, 172, 254, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.atrebute-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.atrebute-item h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #fff;
  margin: 0 0 10px;
}

.atrebute-item p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.6;
  color: #a9a9bc;
  margin: 0;
}


/* ============ Footer ============ */
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1100px;
  margin: 80px auto 40px;
  padding: 20px 28px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  background: linear-gradient(90deg, #ff6ec4, #7873f5, #4facfe);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shineLogo 6s linear infinite;
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #767688;
  letter-spacing: 0.2px;
}

/* ----- Telegram Button ----- */
.footer-telegram {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(79, 172, 254, 0.35);
  box-shadow:
    0 4px 16px rgba(79, 172, 254, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  transition: transform 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer-telegram:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 172, 254, 0.6);
  box-shadow:
    0 8px 24px rgba(79, 172, 254, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.footer-telegram:active {
  transform: translateY(0) scale(0.97);
}

/* shimmer light که از روی دکمه رد میشه */
.telegram-glow {
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(79, 172, 254, 0.35) 50%,
    transparent 100%
  );
  animation: shimmerSweep 3.5s ease-in-out infinite;
}

@keyframes shimmerSweep {
  0%   { left: -60%; }
  50%  { left: 110%; }
  100% { left: 110%; }
}

.telegram-icon {
  width: 19px;
  height: 19px;
  color: #4facfe;
  flex-shrink: 0;
  animation: telegramPulse 2.5s ease-in-out infinite;
}

@keyframes telegramPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

.telegram-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e8e8f0;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

/* ============ Responsive ============ */
@media (max-width: 600px) {
  .footer {
    flex-direction: column;
    gap: 18px;
    width: 90%;
    padding: 22px 20px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-telegram {
    width: 100%;
    justify-content: center;
  }
}



/* ============ Responsive ============ */
@media (max-width: 900px) {
  .atrebute {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ============ Responsive: Tablet ============ */
@media (max-width: 768px) {
  .navbar {
    width: 90%;
    padding: 12px 18px;
  }

  .upside {
    margin-top: 60px;
  }

  .blob1 { width: 280px; height: 280px; }
  .blob2 { width: 320px; height: 320px; }
  .blob3 { width: 260px; height: 260px; }
}


/* ============ Responsive: Mobile ============ */
@media (max-width: 480px) {
    .atrebute {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 48px;
    }

    .atrebute-item {
        padding: 24px 18px;
    }
    .workstag {
        margin-top: 28px;
    }

    .workstag-item {
        font-size: 0.78rem;
        padding: 7px 13px;
    }
  
    .navbar {
    width: 92%;
    padding: 10px 16px;
  }

  .navbar .logo {
    font-size: 1.2rem;
  }

  .navbar .badge {
    font-size: 0.72rem;
    padding: 6px 12px;
  }

  .upside {
    margin-top: 48px;
    padding: 0 18px;
  }

  .upside .subtitle {
    font-size: 0.95rem;
  }

  .download-box {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
  }

  .link-input {
    width: 100%;
    text-align: center;
    padding: 10px 12px;
  }

  .submit-btn {
    width: 100%;
    padding: 12px;
  }
}

/* ============ Responsive: Very Small Screens ============ */
@media (max-width: 360px) {
  .navbar .badge {
    display: none;
  }

  .upside h1 {
    letter-spacing: -0.6px;
  }
}