:root {
  --bg: #1a1b25;
  --bg-soft: #202334;
  --bg-card: rgba(26, 27, 37, 0.7);
  --accent: #3a86ff;
  --accent-2: #00f5d4;
  --accent-3: #ffd166;
  --text: #f3f6ff;
  --muted: #a9b2c7;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(10, 12, 24, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(58, 134, 255, 0.3) 0%, transparent 45%),
    radial-gradient(circle at 20% 20%, rgba(0, 245, 212, 0.22), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(58, 134, 255, 0.2), transparent 35%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .nav,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .badges {
  flex-direction: row-reverse;
}

html[dir="rtl"] .footer-grid,
html[dir="rtl"] .page-hero,
html[dir="rtl"] .hero,
html[dir="rtl"] .section,
html[dir="rtl"] .card,
html[dir="rtl"] .hero-card {
  text-align: right;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

header {
  padding: 28px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(26, 27, 37, 0.7);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.brand-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow);
  font-weight: 700;
  color: #08111f;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
  display: block;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--muted);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
}

.lang-switch select {
  background: rgba(26, 27, 37, 0.7);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.9rem;
  outline: none;
}

.lang-switch select:focus {
  border-color: rgba(0, 245, 212, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.15);
}

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

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0b0d14;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 18px 45px rgba(58, 134, 255, 0.4);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 55px rgba(0, 245, 212, 0.35);
}

.hero {
  padding: 72px 0 40px;
  display: grid;
  gap: 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button-secondary {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
  font-weight: 600;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--accent-3);
  margin-bottom: 14px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.badge {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(26, 27, 37, 0.5);
}

.section {
  padding: 64px 0;
}

.section-title {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 640px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.card {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow);
  min-height: 190px;
}

.card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.card p {
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(11, 13, 20, 0.55);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.step span {
  font-weight: 700;
  color: var(--accent-2);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.price-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 24px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.price-card.highlight {
  border-color: rgba(0, 245, 212, 0.6);
  box-shadow: 0 20px 50px rgba(0, 245, 212, 0.25);
}

.price-card h4 {
  margin-bottom: 10px;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  margin: 12px 0;
}

.price small {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-list {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.faq {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.faq details {
  background: var(--bg-card);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.highlight-banner {
  background: linear-gradient(120deg, rgba(58, 134, 255, 0.15), rgba(0, 245, 212, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
  border-radius: 16px;
  margin-top: 20px;
  color: var(--muted);
}

footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

footer a {
  color: var(--muted);
}

footer a:hover {
  color: var(--text);
}

.page-hero {
  padding: 60px 0 30px;
}

.page-hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal {
  display: grid;
  gap: 16px;
  padding-bottom: 80px;
  color: var(--muted);
}

.legal h2 {
  color: var(--text);
  margin-top: 20px;
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
  align-items: stretch;
}

.form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  width: 100%;
}

.form .label-text {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

input,
textarea,
select {
  background: rgba(11, 13, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  width: 100%;
  display: block;
}

.form button {
  width: fit-content;
  justify-content: center;
  align-self: start;
}

button {
  border: none;
  cursor: pointer;
}

.animate {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards;
}

.animate.delay-1 {
  animation-delay: 0.1s;
}

.animate.delay-2 {
  animation-delay: 0.2s;
}

.animate.delay-3 {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  header {
    position: relative;
  }

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

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 40px;
  }
}
