:root {
  --bg: #0e0e14;
  --bg-card: #1a1a24;
  --text: #e8e8f0;
  --muted: #9ca3af;
  --pink: #ff2d95;
  --purple: #a855f7;
  --cyan: #22d3ee;
  --border: rgba(168, 85, 247, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.05rem;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 1.25rem; }

header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-inline-start: auto;
  flex-wrap: wrap;
}

#lang-select {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.9rem;
  cursor: pointer;
  max-width: 9rem;
}

#lang-select:focus {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

html[dir="rtl"] .steps li {
  padding: 0 2.75rem 1.25rem 0;
  border-left: none;
  border-right: 2px solid var(--border);
  margin-left: 0;
  margin-right: 0.75rem;
}

html[dir="rtl"] .steps li::before {
  left: auto;
  right: -0.85rem;
}

html[dir="rtl"] .steps li:last-child {
  border-right-color: transparent;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.logo span { color: var(--pink); }

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff !important;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 0 24px rgba(255, 45, 149, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(255, 45, 149, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
  color: var(--text) !important;
}

.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  line-height: 1.25;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.hero .cta-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

section { padding: 2.5rem 0; }

section h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  color: var(--purple);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--pink);
}

.card p { font-size: 0.95rem; color: var(--muted); }

.steps { counter-reset: step; list-style: none; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.25rem 2.75rem;
  border-left: 2px solid var(--border);
  margin-left: 0.75rem;
}

.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: -0.85rem;
  top: 0;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--bg-card);
  border: 2px solid var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
}

.faq dt {
  font-weight: 600;
  margin-top: 1rem;
  color: var(--text);
}

.faq dd {
  color: var(--muted);
  margin: 0.35rem 0 0 0;
  font-size: 0.95rem;
}

footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

footer a { margin: 0 0.5rem; }
