.lang-fa {
  direction: rtl;
  text-align: right;
}

.lang-fa .top-nav,
.lang-fa .hero-content,
.lang-fa .footer-inner {
  direction: rtl;
}

.lang-fa .top-nav {
  flex-direction: column;
  align-items: flex-end;
}

.lang-fa .language-switcher {
  align-self: flex-start;
}

.lang-fa .hero-highlights,
.lang-fa .support-links,
.lang-fa .footer-links {
  justify-content: flex-end;
}

.lang-fa .list {
  padding-left: 0;
  padding-right: 1.1rem;
}

.lang-fa .list li::before {
  left: auto;
  right: -1.1rem;
}

.lang-fa .steps .card {
  padding-left: 1.9rem;
  padding-right: 3.25rem;
}

.lang-fa .steps .card::before {
  left: auto;
  right: 1.4rem;
}
/* EVA VPN Landing Styles */

:root {
  --color-bg: #07090b;
  --color-bg-alt: #0f1418;
  --color-primary: #45e35b;
  --color-primary-soft: rgba(69, 227, 91, 0.16);
  --color-accent: #d6a200;
  --color-text: #f6f8fa;
  --color-muted: #a5b0b9;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-card: rgba(7, 9, 11, 0.72);
  --container-max: 1200px;
  --font-body: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --transition-base: all 0.25s ease;
  --shadow-sm: 0 8px 40px rgba(12, 17, 22, 0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a:hover,
a:focus {
  color: var(--color-primary);
}

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

main {
  flex: 1 0 auto;
}

.page {
  overflow-x: hidden;
}

.container {
  width: min(100% - 2.5rem, var(--container-max));
  margin: 0 auto;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  position: relative;
  z-index: 2;
}

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

.brand img {
  width: 44px;
  height: auto;
}

.brand span {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.language-switcher a {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  transition: var(--transition-base);
}

.language-switcher a.active,
.language-switcher a:hover,
.language-switcher a:focus {
  background: var(--color-primary);
  color: #050708;
  font-weight: 600;
}

.hero {
  position: relative;
  padding: 4rem 0 5rem;
  background: radial-gradient(circle at top right, rgba(69, 227, 91, 0.25), transparent 45%),
    radial-gradient(circle at center left, rgba(214, 162, 0, 0.16), transparent 40%),
    linear-gradient(160deg, var(--color-bg), var(--color-bg-alt));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(69, 227, 91, 0.05), transparent 60%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 520px;
}

.hero-highlights {
  margin: 1.75rem 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-highlights span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), #74f287);
  color: #041106;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:visited {
  color: #041106;
}

.cta-button:hover,
.cta-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 45px rgba(69, 227, 91, 0.3);
}

.hero-visual {
  position: relative;
  padding: 3rem;
  background: rgba(9, 13, 17, 0.7);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-sm);
  max-height: 520px;
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.6;
}

.hero-visual::before {
  width: 220px;
  height: 220px;
  background: rgba(69, 227, 91, 0.4);
  top: 10%;
  left: -10%;
}

.hero-visual::after {
  width: 190px;
  height: 190px;
  background: rgba(214, 162, 0, 0.32);
  bottom: 0;
  right: -8%;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  background: transparent;
}

.section.alt {
  background: linear-gradient(180deg, rgba(10, 14, 18, 0.9), rgba(7, 9, 11, 0.9));
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.75rem;
}

.section-title h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 0.85rem;
  font-family: var(--font-heading);
}

.section-title p {
  color: var(--color-muted);
  font-size: 1rem;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--color-card);
  border-radius: 22px;
  border: 1px solid var(--color-border);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(69, 227, 91, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.card:hover::after,
.card:focus-within::after {
  opacity: 1;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.card p {
  color: var(--color-muted);
  font-size: 0.97rem;
  line-height: 1.62;
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial .name {
  font-weight: 600;
}

.testimonial .rating {
  color: var(--color-accent);
  font-size: 1rem;
}

.steps {
  counter-reset: steps;
}

.steps .card {
  padding-left: 3.25rem;
}

.steps .card::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 1.4rem;
  top: 1.6rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(69, 227, 91, 0.18);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.faq {
  display: grid;
  gap: 1.25rem;
}

.faq-item {
  background: var(--color-card);
  border-radius: 18px;
  border: 1px solid var(--color-border);
  padding: 1.5rem;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.faq-item p {
  color: var(--color-muted);
  margin: 0;
  line-height: 1.6;
}

.cta-final {
  text-align: center;
  padding: 4rem 0 5rem;
  background: linear-gradient(135deg, rgba(69, 227, 91, 0.12), rgba(7, 9, 11, 0.9));
  border-radius: 28px;
  border: 1px solid rgba(69, 227, 91, 0.2);
  box-shadow: 0 14px 55px rgba(69, 227, 91, 0.18);
}

.cta-final h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.3vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.cta-final p {
  color: var(--color-muted);
  margin-bottom: 2rem;
}

footer {
  padding: 2.5rem 0 3rem;
  background: #05070a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--color-muted);
  font-size: 0.9rem;
  transition: var(--transition-base);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--color-primary);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}

.badge svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary);
}

.list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
  color: var(--color-muted);
  padding-left: 1.1rem;
}

.list li {
  position: relative;
  line-height: 1.6;
}

.list li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
}

.support-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.support-links a {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-muted);
  font-size: 0.88rem;
  transition: var(--transition-base);
}

.support-links a:hover,
.support-links a:focus {
  color: var(--color-bg);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

@media (max-width: 960px) {
  .hero {
    padding-top: 4rem;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 1rem;
  }

  .language-switcher {
    gap: 0.35rem;
  }
}

@media (max-width: 720px) {
  .top-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-highlights span {
    font-size: 0.85rem;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 1.6rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .hero-visual {
    position: absolute;
    top: 16%;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    height: 240px;
    padding: 0;
    opacity: 0.3;
    filter: blur(8px);
    pointer-events: none;
    z-index: 1;
    max-height: none;
    border: none;
    background: none;
    box-shadow: none;
  }

  .hero-visual::before,
  .hero-visual::after {
    display: none;
  }

  .hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-highlights {
    justify-content: center;
  }
}

