:root {
  --bg: #0b1020;
  --bg-soft: #121933;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-border: rgba(255, 255, 255, 0.12);
  --text: #f5f7ff;
  --muted: #b8c0e0;
  --primary: #27a7e7;
  --primary-dark: #1f8ac2;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Vazirmatn", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(39, 167, 231, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(98, 84, 255, 0.16), transparent 30%),
    linear-gradient(160deg, #0a0f1d 0%, #0f1730 55%, #0a0f1d 100%);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
  pointer-events: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0;
}

.hero {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 40px 0 60px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  border-radius: 999px;
  color: #dce3ff;
  font-size: 0.92rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.2;
  font-weight: 800;
}

.description {
  margin: 20px 0 0;
  max-width: 620px;
  font-size: 1.08rem;
  line-height: 2;
  color: var(--muted);
}

.actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.25s ease;
  border-radius: 12px;
  font-weight: 700;
}

.telegram-link.primary {
  min-width: 220px;
  min-height: 54px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #5bc7ff 100%);
  color: #06111b;
  box-shadow: 0 14px 35px rgba(39, 167, 231, 0.32);
}

.telegram-link.primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #38b4f0 0%, #79d2ff 100%);
}

.telegram-link.small {
  min-height: 44px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--surface-border);
}

.telegram-link.small:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer {
  position: relative;
  z-index: 2;
  padding: 24px 0 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

@media (max-width: 640px) {
  .topbar-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  h1 {
    font-size: 2.2rem;
    line-height: 1.35;
  }

  .description {
    font-size: 1rem;
    line-height: 1.9;
  }

  .telegram-link.primary {
    width: 100%;
  }
}
