:root {
  --bg: #07060f;
  --bg2: #0d0b1a;
  --text: #eef2ff;
  --muted: #9aa3c7;
  --cyan: #00d4ff;
  --violet: #8b5cf6;
  --magenta: #e879f9;
  --lime: #39ff14;
  --ok: #22d3a6;
  --fail: #ff5c7a;
  --review: #ffb020;
  --line: rgba(139, 92, 246, 0.28);
  --glass: rgba(255, 255, 255, 0.04);
  --font-fa: "Vazirmatn", Tahoma, sans-serif;
  --font-display: "Vazirmatn", Tahoma, sans-serif;
  --font-body: "Vazirmatn", Tahoma, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(139, 92, 246, 0.28), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(0, 212, 255, 0.12), transparent 50%),
    linear-gradient(180deg, #05040c 0%, var(--bg) 40%, #090816 100%);
  overflow-x: hidden;
}

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

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

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  opacity: 0.55;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: float 12s ease-in-out infinite;
}

.bg-orb-a {
  width: 420px;
  height: 420px;
  top: 10%;
  left: -120px;
  background: rgba(0, 212, 255, 0.16);
}

.bg-orb-b {
  width: 480px;
  height: 480px;
  bottom: 5%;
  right: -140px;
  background: rgba(232, 121, 249, 0.14);
  animation-delay: -4s;
}

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

.nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 6vw;
  backdrop-filter: blur(16px);
  background: rgba(7, 6, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  border-radius: 0.65rem;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.28);
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
}

.brand-text {
  font-family: var(--font-fa);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  font-weight: 800;
}

.hero-logo {
  display: block;
  width: min(320px, 78vw);
  height: auto;
  margin: 0 0 1rem;
  filter: drop-shadow(0 12px 40px rgba(0, 212, 255, 0.25));
  animation: brandIn 0.9s ease both;
}

.brand-text b {
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.link-quiet {
  color: var(--muted);
  font-size: 0.9rem;
}

.link-quiet:hover {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 0.6rem;
  padding: 0.55rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  border-radius: 0.9rem;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 1.5rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: white;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
}

.btn-android {
  background: linear-gradient(135deg, var(--lime), #00e5a8);
  color: #041208;
  box-shadow: 0 12px 36px rgba(57, 255, 20, 0.28);
}

.btn-android:hover {
  box-shadow: 0 16px 40px rgba(57, 255, 20, 0.4);
}

.btn-web {
  background: linear-gradient(135deg, #7c3aed, #00d4ff);
  color: white;
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.32);
}

.btn-web:hover {
  box-shadow: 0 16px 40px rgba(0, 212, 255, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(0, 212, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.15);
}

.hero-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 34rem;
}

.hero-frame,
.shot {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 40px rgba(139, 92, 246, 0.18);
}

.hero-frame img,
.shot img {
  width: 100%;
  height: auto;
  display: block;
}

.shot {
  margin-bottom: 2rem;
}

.download-panel.dual {
  grid-template-columns: 1fr 1fr;
}

.download-panel.dual > div {
  padding: 0.4rem;
}

@media (max-width: 980px) {
  .download-panel.dual {
    grid-template-columns: 1fr;
  }
}

/* —— Hero —— */
.hero {
  min-height: calc(100vh - 4.5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
  padding: 3.5rem 6vw 4rem;
}

.brand-hero {
  margin: 0 0 0.6rem;
  font-family: var(--font-fa);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  background: linear-gradient(90deg, #fff, var(--cyan) 55%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandIn 0.9s ease both;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  animation: rise 0.8s 0.12s ease both;
}

.grad {
  background: linear-gradient(90deg, var(--cyan), #60a5fa 50%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
  animation: rise 0.8s 0.22s ease both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
  animation: rise 0.8s 0.32s ease both;
}

@keyframes brandIn {
  from { opacity: 0; letter-spacing: 0.18em; filter: blur(8px); }
  to { opacity: 1; letter-spacing: 0.01em; filter: blur(0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: auto;
  animation: rise 1s 0.2s ease both;
}

.phone-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.35), transparent 70%);
  filter: blur(10px);
  animation: pulse 3.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

.phone {
  position: relative;
  width: min(280px, 72vw);
  aspect-ratio: 9 / 19;
  border-radius: 2rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, #2a2344, #0b0a14 55%);
  border: 1px solid rgba(0, 212, 255, 0.35);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(139, 92, 246, 0.25);
  transform: rotate(-6deg);
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-12px); }
}

.phone-notch {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 0.55rem;
  border-radius: 999px;
  background: #05040c;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  border-radius: 1.55rem;
  padding: 1.6rem 1rem 1rem;
  background:
    radial-gradient(circle at 70% 20%, rgba(139, 92, 246, 0.35), transparent 45%),
    linear-gradient(180deg, #12101f, #07060f);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.dot-live {
  color: var(--ok);
  font-size: 0.75rem;
}

.trust-ring {
  margin: 0.4rem auto;
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(7, 6, 15, 0.95) 58%, transparent 59%),
    conic-gradient(from 210deg, var(--ok), var(--cyan), var(--violet), var(--ok));
  box-shadow: 0 0 30px rgba(34, 211, 166, 0.25);
}

.trust-ring strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}

.trust-ring span {
  font-size: 0.7rem;
  color: var(--muted);
}

.app-toast,
.app-task {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.9rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
}

.app-toast .ok {
  color: var(--ok);
  margin-left: 0.35rem;
}

.app-task {
  display: grid;
  gap: 0.2rem;
}

.app-task b {
  color: var(--lime);
}

.app-task em {
  font-style: normal;
  color: var(--cyan);
  font-size: 0.75rem;
}

.orbit {
  position: absolute;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(13, 11, 26, 0.85);
  backdrop-filter: blur(8px);
}

.orbit-ig {
  top: 18%;
  right: 8%;
  color: #f472b6;
  animation: orbit 5s ease-in-out infinite;
}

.orbit-tt {
  bottom: 28%;
  left: 6%;
  color: var(--cyan);
  animation: orbit 5s 0.8s ease-in-out infinite;
}

.orbit-yt {
  top: 42%;
  left: 10%;
  color: #fb7185;
  animation: orbit 5s 1.4s ease-in-out infinite;
}

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

/* —— Sections —— */
.section {
  padding: 5rem 6vw;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-head p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.flow li {
  padding: 1.4rem 1.2rem;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--cyan), var(--violet)) 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.flow-num {
  display: block;
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.flow h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-grid article {
  padding: 1.4rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--glass);
  border-radius: 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-grid article:hover {
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-3px);
}

.feature-grid h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.92rem;
}

.trust-board {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 720px;
}

.gauge {
  position: relative;
  width: 220px;
  height: 140px;
}

.gauge-arc {
  width: 220px;
  height: 110px;
  border-radius: 220px 220px 0 0;
  background: conic-gradient(
    from 180deg at 50% 100%,
    var(--fail) 0deg,
    var(--fail) 27deg,
    var(--review) 27deg,
    var(--review) 160deg,
    var(--ok) 160deg,
    var(--ok) 180deg,
    transparent 180deg
  );
  mask: radial-gradient(circle at 50% 100%, transparent 62%, black 63%);
}

.gauge-value {
  position: absolute;
  inset: auto 0 0;
  text-align: center;
}

.gauge-value strong {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.gauge-value span {
  color: var(--muted);
}

.bands {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.bands li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
}

.bands b {
  color: var(--text);
  min-width: 4.5rem;
}

.bands i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  display: inline-block;
}

.c-fail { background: var(--fail); }
.c-review { background: var(--review); }
.c-ok { background: var(--ok); }

.download-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(57, 255, 20, 0.22);
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(57, 255, 20, 0.12), transparent 55%),
    radial-gradient(500px 220px at 0% 100%, rgba(0, 212, 255, 0.1), transparent 50%),
    rgba(255, 255, 255, 0.03);
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--lime);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.download-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.download-panel > div > p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 34rem;
}

.hint {
  margin-top: 1rem !important;
  font-size: 0.85rem !important;
}

.download-side {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 200px;
}

.pulse-ring {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(57, 255, 20, 0.35);
  animation: pulse 2.8s ease-in-out infinite;
}

.apk-badge {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 1.4rem;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.15rem;
  background: linear-gradient(160deg, rgba(57, 255, 20, 0.18), rgba(0, 212, 255, 0.08));
  border: 1px solid rgba(57, 255, 20, 0.4);
}

.apk-badge span {
  font-family: var(--font-display);
  color: var(--lime);
  font-size: 0.75rem;
}

.apk-badge strong {
  font-size: 1.1rem;
}

.apk-badge small {
  color: var(--muted);
}

.footer {
  padding: 2.5rem 6vw 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 0.6rem;
  justify-items: start;
}

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

.copy {
  opacity: 0.7;
  font-size: 0.8rem !important;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    padding: 1rem 6vw 1.2rem;
    background: rgba(7, 6, 15, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-toggle {
    display: inline-flex;
    margin-inline-start: auto;
  }

  .nav-actions .link-quiet {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.2rem;
  }

  .hero-visual {
    order: -1;
    min-height: 420px;
  }

  .phone {
    transform: rotate(0);
  }

  .flow,
  .feature-grid,
  .download-panel,
  .trust-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav,
  .hero,
  .section,
  .footer {
    padding-inline: 1.2rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
