@font-face {
  font-family: 'Vazirmatn';
  src: url('/radon-assets/fonts/Vazirmatn_wght.woff2') format('woff2 supports variations'),
       url('/radon-assets/fonts/Vazirmatn_wght.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b1020;
  --bg-soft: #111936;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.13);
  --text: #f7f8ff;
  --muted: #bac4df;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #6df2c2;
  --accent-2: #8fb7ff;
  --warning: #ffd166;
  --danger: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1160px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(
      circle at 12% 10%,
      rgba(109, 242, 194, 0.24),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 4%,
      rgba(143, 183, 255, 0.22),
      transparent 32%
    ),
    radial-gradient(
      circle at 50% 85%,
      rgba(255, 209, 102, 0.12),
      transparent 28%
    ),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 16, 32, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    145deg,
    rgba(109, 242, 194, 0.22),
    rgba(143, 183, 255, 0.12)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.brand-mark span {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: var(--card);
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button span::before {
  transform: translateY(-7px);
}

.menu-button span::after {
  transform: translateY(5px);
}

.menu-button[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span::before {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span::after {
  transform: translateY(-2px) rotate(90deg);
}

.hero {
  position: relative;
  padding: 86px 0 54px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(109, 242, 194, 0.08);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(109, 242, 194, 0.75);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 11px rgba(109, 242, 194, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(109, 242, 194, 0);
  }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 8vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
}

.h1-lh {
  line-height: clamp(48px, 8.5vw, 110px);
  font-weight: 900;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lede {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #07101d;
  background: var(--accent);
  box-shadow: 0 15px 34px rgba(109, 242, 194, 0.22);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.hero-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.13),
    rgba(255, 255, 255, 0.06)
  );
  box-shadow: var(--shadow);
  overflow: hidden;
}

@property --meter-rotation {
  syntax: "<angle>";
  inherits: false;
  initial-value: 180deg;
}

.meter {
  --meter-rotation: 180deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  margin: 6px auto 24px;
  max-width: 320px;
  border-radius: 50%;
  background: conic-gradient(
      from var(--meter-rotation),
      rgb(255 255 255 / 0%) 14%,
      var(--accent) 32%,
      var(--warning) 50%,
      var(--danger) 68%,
      rgb(255 255 255 / 0%) 86%
    ),
    radial-gradient(circle, rgb(123 1 233 / 90%) 45%, rgb(119 0 245 / 35%) 65%);
  box-shadow: inset 0 0 55px rgba(0, 0, 0, 0.26),
    0 0 42px rgba(109, 242, 194, 0.14);
  outline: 1px solid var(--line);
  outline-offset: -1px;
  animation: meterSweep 10s linear infinite,
    meterGlow 3.6s ease-in-out infinite alternate;
}

@keyframes meterSweep {
  to {
    --meter-rotation: 540deg;
  }
}

@keyframes meterGlow {
  from {
    filter: saturate(1) brightness(1);
    box-shadow: inset 0 0 55px rgba(0, 0, 0, 0.26),
      0 0 34px rgba(109, 242, 194, 0.12);
  }
  to {
    filter: saturate(1.5) brightness(1.08);
    box-shadow: inset 0 0 62px rgba(0, 0, 0, 0.22),
      0 0 54px rgba(143, 183, 255, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .meter {
    animation: none;
  }
}

.meter-inner {
  position: relative;
  z-index: 1;
  width: 63%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(11, 16, 32, 0.92);
  text-align: center;
  align-content: center;
}

.meter-value {
  display: block;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.meter-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin-bottom: 9px;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.hero-card p {
  color: var(--muted);
}

.mini-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.mini-stat {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.mini-stat strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.1;
}

.mini-stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.section {
  padding: clamp(30px, 3vw, 44px) 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-kicker {
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.section-head p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--card-strong);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  letter-spacing: -0.035em;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.feature-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.055)
  );
  box-shadow: var(--shadow);
}

.checklist {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  color: var(--muted);
}

.check {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07101d;
  background: var(--accent);
  font-weight: 950;
}

.calculator {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.18);
  outline: none;
}

.field input:focus {
  border-color: rgba(109, 242, 194, 0.8);
  box-shadow: 0 0 0 4px rgba(109, 242, 194, 0.12);
}

.result-box {
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
}

.result-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.result-box p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.075);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  text-align: right;
  font-weight: 850;
}

.faq-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  border-color: rgba(109, 242, 194, 0.55);
  background: rgba(109, 242, 194, 0.12);
}

.cta {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(
      135deg,
      rgba(109, 242, 194, 0.18),
      rgba(143, 183, 255, 0.12)
    ),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta h2 {
  margin-inline: auto;
}

.cta p {
  max-width: 680px;
  margin: 18px auto 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  padding: 32px 0 44px;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero-grid,
  .feature {
    grid-template-columns: 1fr;
  }

  .cards,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, var(--max));
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(11, 16, 32, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .hero {
    padding-top: 56px;
  }

  .mini-stat-row,
  .cards,
  .timeline {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 30px 20px;
  }

  .footer-grid {
    display: block;
  }

  .footer-links {
    margin-top: 14px;
  }
}

/* RTL */
:root {
  --font: Vazirmatn, Tahoma, "Segoe UI", Arial, sans-serif;
}

html {
  direction: rtl;
}

body {
  direction: rtl;
  text-align: right;
  font-feature-settings: "ss01";
}

.brand,
h1,
h2,
h3,
.eyebrow,
.section-kicker,
.result-box strong {
  letter-spacing: 0;
}

.eyebrow,
.section-kicker {
  text-transform: none;
}

.field input {
  direction: ltr;
  text-align: right;
  unicode-bidi: plaintext;
}

@media (max-width: 720px) {
  .nav-links {
    text-align: right;
  }
}
