/* =========================================
   KHERADAVAR — Landing Page Styles
   Dark Premium · Minimal Futuristic · Glassmorphism
   RTL First · No external dependencies
   ========================================= */

:root{
  --navy:#071321;
  --navy-deep:#030a0f;
  --teal:#0B2830;
  --turquoise:#28C5B7;
  --turquoise-soft:rgba(40,197,183,0.16);
  --gold:#C6A66B;
  --gold-soft:rgba(198,166,107,0.14);
  --ivory:#F4F1E8;
  --ink:#0B1624;
  --surface:rgba(11,40,48,0.55);
  --border:rgba(40,197,183,0.22);
  --border-weak:rgba(40,197,183,0.07);
  --text:#F4F1E8;
  --text-dim:rgba(244,241,232,0.62);
  --text-muted:rgba(244,241,232,0.42);
  --shadow-sm:0 8px 24px rgba(0,0,0,0.35);
  --shadow-md:0 20px 48px rgba(0,0,0,0.5);
  --radius:16px;
  --font:'Vazirmatn', Tahoma, 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html{
  direction: rtl;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body{
  margin: 0;
  background-color: var(--navy);
  background-image:
    radial-gradient(70% 60% at 50% 0%, #0e2a3a 0%, transparent 55%),
    radial-gradient(60% 40% at 10% 90%, #0b2a33 0%, transparent 55%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  direction: rtl;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.container{
  width: 100%;
  margin-inline: auto;
  padding: 0 20px;
  max-width: 1080px;
}

.skip-link{
  position: absolute;
  inset-inline-start: 0;
  top: -9999px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--turquoise);
  color: #05201d;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 10px 0;
}

h1,h2,h3{
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
h1{ font-size: clamp(34px, 9vw, 56px); }
h2{ font-size: clamp(26px, 5vw, 34px); }
h3{ font-size: clamp(18px, 4vw, 22px); }
p{ margin: 0 0 14px; }

section{ scroll-margin-top: 86px; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--text);
}
.site-header.scrolled{
  background: rgba(7,19,33,0.72);
  border-bottom: 1px solid var(--border-weak);
  backdrop-filter: blur(12px);
}

.header-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark{
  width: 30px;
  height: 30px;
  display: block;
}
.logo-mark circle{
  transition: fill 0.35s ease;
}
.logo:hover .logo-mark circle{ fill: var(--gold); }

.logo-text{
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.logo-fa{
  font-size: 18px;
  font-weight: 700;
  color: var(--ivory);
}
.logo-lat{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--turquoise);
  text-transform: uppercase;
  opacity: 0.9;
}

/* ---------- Badges ---------- */
.badge{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(11,40,48,0.6);
  color: var(--turquoise);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
  touch-action: manipulation;
}
.btn-primary{
  background: var(--turquoise);
  color: #05201d;
  padding: 13px 26px;
  box-shadow: 0 0 0 rgba(40,197,183,0);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(40,197,183,0.45), 0 4px 14px rgba(0,0,0,0.35);
}
.btn-primary:active{ transform: translateY(0); }
.btn-primary .arrow{ font-size: 13px; line-height: 1; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  padding: 96px 20px 130px;
  overflow: hidden;
}
.hero-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-content{ text-align: right; }

.hero-eyebrow{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.hero-eyebrow .badge{ font-size: 11px; }

.brand{ color: var(--turquoise); }

.hero-desc{
  font-size: 17px;
  color: var(--text-dim);
  max-width: 44ch;
  margin: 10px 0 20px;
  text-align: right;
}

.hero-tagline{
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.55em;
  color: var(--turquoise);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-status{
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-visual{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-visual svg{
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 16px rgba(40,197,183,0.25));
}

.hero-glow{
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.glow-1{
  top: 12%;
  inset-inline-start: 10%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, var(--turquoise), transparent 70%);
}
.glow-2{
  bottom: 18%;
  inset-inline-end: 14%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
}

/* Reveal on load */
.hero-content > *{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.is-loaded .hero-content > *{ opacity: 1; transform: none; }
.hero-content > *:nth-child(2){ transition-delay: 0.10s }
.hero-content > *:nth-child(3){ transition-delay: 0.22s }
.hero-content > *:nth-child(4){ transition-delay: 0.34s }
.hero-content > *:nth-child(5){ transition-delay: 0.46s }
.hero-content > *:nth-child(6){ transition-delay: 0.58s }

/* ---------- Central graphic (SVG) ---------- */
.net{ transform-origin: center; }
.net-links{ stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.net-node{
  fill: var(--turquoise);
  transform-origin: center;
}
.net-node.hub{ fill: var(--gold); }
.net-node.pulse{
  animation: k-node-pulse 7s ease-in-out infinite;
}
.net-ring{
  stroke: var(--gold);
  fill: none;
  opacity: 0;
  transform-origin: center;
  animation: k-ring 6s ease-out infinite;
}
@keyframes k-node-pulse{
  0% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 0.85; }
}
@keyframes k-ring{
  0% { transform: scale(0.6); opacity: 0.55; }
  50% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(0.6); opacity: 0.55; }
}

/* ---------- Vision ---------- */
.vision{ padding: 88px 20px 140px; }
.section-head{ text-align: right; margin-bottom: 48px; }
.section-head h2{
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.vision-chip{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(11,40,48,0.55);
  color: var(--turquoise);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-intro{
  font-size: 16px;
  color: var(--text-dim);
  max-width: 60ch;
  margin-top: 10px;
  text-align: right;
}
.vision-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vision-card{
  position: relative;
  border: 1px solid var(--border-weak);
  border-radius: 18px;
  padding: 28px 24px 26px;
  background: var(--surface);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.card-head{
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.card-num{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold);
}
.vision-card h3{ color: var(--ivory); margin-bottom: 10px; }
.vision-card p{ color: var(--text-dim); font-size: 14.5px; }
.vision-card:hover{
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--border-weak);
  background: rgba(3,10,15,0.65);
  padding: 52px 20px 38px;
  backdrop-filter: blur(24px);
}
.footer-inner{
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}
.footer-brand{
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  text-align: right;
}
.footer-logo .logo-mark{ width: 34px; height: 34px; }
.footer-logo .logo-fa{ font-size: 22px; }
.footer-logo .logo-lat{ font-size: 12px; }
.footer-slogan{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
}
.footer-status{
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-meta{
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
}
.footer-meta strong{ color: var(--ivory); }
#footer-copy{
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-weak);
  padding-top: 14px;
}

/* ---------- Responsive ---------- */
@media (min-width: 601px) and (max-width: 900px){
  .vision-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; gap: 42px; }
  .hero{ padding: 74px 20px 96px; }
  .hero-visual svg{ max-width: 380px; }
  .vision-grid{ grid-template-columns: 1fr; }
  .vision-card{ padding: 24px 22px; }
  .header-wrap{ height: 60px; }
  .logo-fa{ font-size: 16px; }
}
@media (max-width: 600px){
  .hero{ padding: 62px 16px 80px; }
  .hero-visual svg{ max-width: 330px; }
  .section-intro{ max-width: 100%; }
  .footer-inner{ align-items: stretch; }
  .footer-brand{ width: 100%; }
  .footer-logo .logo-mark{ width: 30px; height: 30px; }
  .footer-logo .logo-fa{ font-size: 19px; }
  .header-wrap{ height: 56px; }
  .logo-fa{ font-size: 15px; }
}
