:root {
  --bg: #06080f;
  --bg-soft: #0b1220;
  --navy: #0a1428;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f6fb;
  --muted: #9aa3b8;
  --accent: #7c9bff;
  --accent-2: #a78bfa;
  --glow: rgba(124, 155, 255, 0.28);
  --whatsapp: #25d366;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font: "Vazirmatn", "Outfit", system-ui, sans-serif;
  --font-en: "Outfit", "Vazirmatn", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  position: relative;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(124, 155, 255, 0.18), transparent 55%),
    radial-gradient(700px 420px at 90% 20%, rgba(167, 139, 250, 0.1), transparent 50%),
    radial-gradient(600px 380px at 8% 70%, rgba(56, 189, 248, 0.06), transparent 50%),
    var(--bg);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
  opacity: 0.45;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 8px;
  animation: fade-up 0.8s ease both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: -0.03em;
  direction: ltr;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-en);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
}

.hero {
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0 80px;
}

.hero-kicker {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-en);
  margin-bottom: 22px;
  animation: fade-up 0.8s ease 0.08s both;
}

.domain-wrap {
  position: relative;
  margin-bottom: 18px;
  animation: fade-up 0.9s ease 0.16s both;
}

.domain-glow {
  position: absolute;
  inset: 20% -8%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  filter: blur(18px);
  z-index: -1;
}

.domain {
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(2.7rem, 11vw, 7.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 18%, #c5d2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 34px rgba(124, 155, 255, 0.28));
  animation: float 7s ease-in-out infinite;
  direction: ltr;
}

.hero h2 {
  margin: 0 0 14px;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 600;
  animation: fade-up 0.9s ease 0.24s both;
}

.hero-lead {
  max-width: 560px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.02rem;
  animation: fade-up 0.9s ease 0.32s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  animation: fade-up 0.9s ease 0.4s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, #93adff 0%, #6d8dff 100%);
  color: #0b1220;
  box-shadow: 0 10px 30px rgba(124, 155, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(124, 155, 255, 0.38);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(124, 155, 255, 0.45);
  background: rgba(124, 155, 255, 0.08);
}

.btn-whatsapp {
  background: #1fbe5d;
  color: #06210f;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.22);
}

.btn-whatsapp:hover {
  background: #25d366;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.section {
  padding: 28px 0 72px;
}

.section-head {
  text-align: center;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card,
.use-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.card:hover,
.use-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 155, 255, 0.32);
  background: rgba(124, 155, 255, 0.06);
}

.card-icon,
.use-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 16px;
  background: rgba(124, 155, 255, 0.1);
  color: var(--accent);
}

.card h3,
.use-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.uses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.use-card {
  text-align: center;
  padding: 26px 14px;
  box-shadow: none;
}

.use-card span {
  margin-inline: auto  auto;
  font-size: 1.25rem;
}

.use-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
}

.cta {
  margin: 12px 0 40px;
}

.cta-panel {
  text-align: center;
  padding: 56px 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 180px at 50% 0%, rgba(124, 155, 255, 0.16), transparent 70%),
    rgba(255, 255, 255, 0.03);
}

.cta-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.cta-panel p {
  margin: 0 auto 22px;
  max-width: 460px;
  color: var(--muted);
}

.price {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(124, 155, 255, 0.1);
  color: var(--accent);
  font-weight: 600;
}

.contact-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-line:not(:has(a:not([hidden]))) {
  display: none;
}

.contact-line a {
  color: var(--accent);
  font-family: var(--font-en);
  direction: ltr;
  unicode-bidi: isolate;
}

.contact-line a:hover {
  text-decoration: underline;
}

.site-footer {
  padding: 28px 0 110px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-domain {
  margin: 0;
  color: var(--text);
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  direction: ltr;
}

.footer-tag {
  margin: 6px 0 14px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer small {
  font-size: 12px;
  font-family: var(--font-en);
}

.wa-float {
  position: fixed;
  right: 22px;
  left: auto;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #06210f;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  animation: wa-pulse 2.8s ease-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.45);
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.38); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 760px) {
  .wrap {
    width: min(1120px, calc(100% - 28px));
  }

  .values,
  .uses {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 64px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cta-panel {
    padding: 40px 18px;
  }

  .wa-float {
    width: 54px;
    height: 54px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
