@font-face {
  font-family: Vazirmatn;
  src: url("/branding/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/branding/fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/branding/fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Vazirmatn, Tahoma, sans-serif;
  color: #ecfdf8;
  background: #06151a;
  line-height: 1.7;
  isolation: isolate;
}
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 12% 8%, rgba(45, 212, 191, .28), transparent 58%),
    radial-gradient(720px 380px at 92% 4%, rgba(14, 165, 233, .2), transparent 55%),
    radial-gradient(640px 480px at 70% 96%, rgba(245, 158, 11, .14), transparent 60%),
    linear-gradient(165deg, #082226 0%, #06151a 46%, #0b1220 100%);
}
.grid {
  position: absolute;
  inset: -18%;
  background-image:
    linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 40%, #000 32%, transparent 78%);
  animation: drift 28s linear infinite;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}
.o1 { width: 340px; height: 340px; top: -80px; left: -40px; background: radial-gradient(circle, rgba(45,212,191,.42), transparent 68%); animation: float 10s ease-in-out infinite; }
.o2 { width: 260px; height: 260px; bottom: -70px; right: -30px; background: radial-gradient(circle, rgba(14,165,233,.3), transparent 70%); animation: float 12s ease-in-out infinite reverse; }
.o3 { width: 160px; height: 160px; top: 46%; right: 22%; background: radial-gradient(circle, rgba(251,191,36,.2), transparent 70%); animation: pulse 6.5s ease-in-out infinite; }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(94, 234, 212, .16);
}
.r1 { width: 520px; height: 520px; top: -170px; right: 18%; animation: spin 40s linear infinite; }
.r2 { width: 340px; height: 340px; bottom: -90px; left: 8%; animation: spin 52s linear infinite reverse; }

.top, main, footer { position: relative; z-index: 1; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 7vw 8px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { border-radius: 12px; box-shadow: 0 10px 24px rgba(15, 118, 110, .35); }
.brand strong { display: block; font-size: 15px; letter-spacing: .01em; }
.brand span { display: block; font-size: 12px; color: #99f6e4; }
nav { display: flex; gap: 8px; flex-wrap: wrap; }
nav a {
  color: #ccfbf1;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(204, 251, 241, .18);
}
nav a.ghost { background: rgba(15, 118, 110, .85); border-color: transparent; color: #fff; }
main { padding: 8vh 7vw 48px; max-width: 920px; }
.eyebrow {
  margin: 0 0 10px;
  color: #5eead4;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.lead {
  margin: 0 0 28px;
  max-width: 42rem;
  color: #cbd5e1;
  font-size: 17px;
}
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  color: #ecfdf8;
  border: 1px solid rgba(204, 251, 241, .22);
  background: rgba(255,255,255,.04);
}
.btn.primary { background: #0f766e; border-color: #0f766e; color: #fff; box-shadow: 0 14px 32px rgba(15, 118, 110, .35); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.cards article {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(204, 251, 241, .12);
  border-radius: 18px;
  padding: 18px 16px 16px;
  backdrop-filter: blur(12px);
}
.cards b { display: block; margin-bottom: 6px; color: #99f6e4; }
.cards p { margin: 0; color: #cbd5e1; font-size: 13.5px; }
footer {
  padding: 8px 7vw 28px;
  color: #64748b;
  font-size: 12px;
}
@keyframes drift { to { transform: translate3d(-40px, -24px, 0); } }
@keyframes float { 50% { transform: translate3d(18px, 14px, 0) scale(1.05); } }
@keyframes pulse { 50% { transform: scale(1.16); opacity: .7; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 800px) {
  .cards { grid-template-columns: 1fr; }
  .top { flex-direction: column; align-items: flex-start; }
}
