:root {
  --bg: #0a0e1a;
  --bg-alt: #0f1526;
  --card: #131a2e;
  --card-border: #1f2842;
  --text: #eef1f8;
  --text-dim: #97a1bd;
  --accent: #e8b94d;
  --accent-soft: rgba(232, 185, 77, 0.12);
  --accent-2: #7c9eff;
  --radius: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Vazirmatn', 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

html[lang="en"] body {
  font-family: 'Inter', 'Vazirmatn', system-ui, sans-serif;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px circle at 15% 10%, rgba(124, 158, 255, 0.10), transparent 55%),
    radial-gradient(700px circle at 85% 25%, rgba(232, 185, 77, 0.08), transparent 55%),
    var(--bg);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(10, 14, 26, 0.7);
  border-bottom: 1px solid var(--card-border);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  direction: ltr;
  unicode-bidi: embed;
}

.dot { color: var(--accent); }

.lang-toggle {
  display: flex;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  background: var(--bg-alt);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-btn.active {
  background: var(--accent);
  color: #17130a;
  font-weight: 600;
}

main { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

.hero {
  text-align: center;
  padding: 96px 0 72px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
}

.domain-name {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  margin: 0 0 20px;
  direction: ltr;
  unicode-bidi: embed;
  letter-spacing: -0.01em;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 36px;
}

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #f3d385);
  color: #1a1406;
  box-shadow: 0 8px 24px rgba(232, 185, 77, 0.25);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(232, 185, 77, 0.35); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--card-border);
}

.btn-ghost:hover { background: var(--card); }

.btn-large { padding: 16px 36px; font-size: 1.05rem; }

.btn-small {
  padding: 8px 18px;
  font-size: 0.85rem;
  background: var(--card);
  color: var(--text);
  border-color: var(--card-border);
}

.btn-small:hover { background: var(--card-border); }

.section { padding: 64px 0; }

.section-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 40px;
}

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover { border-color: var(--accent); transform: translateY(-3px); }

.icon {
  width: 42px;
  height: 42px;
  color: var(--accent);
  margin-bottom: 16px;
}

.icon svg { width: 100%; height: 100%; }

.card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-dim); font-size: 0.92rem; }

.process { text-align: center; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-dim); font-size: 0.92rem; }

.trust-bar {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 185, 77, 0.3);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.trust-bar svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--accent); }
.trust-bar p { margin: 0; font-size: 0.95rem; }
.trust-bar a { color: var(--accent); font-weight: 600; text-decoration: none; }
.trust-bar a:hover { text-decoration: underline; }

.contact-section { display: flex; justify-content: center; }

.contact-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.contact-note {
  color: var(--text-dim);
  margin: 0 0 28px;
}

.email-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 10px 10px 10px 22px;
  margin-bottom: 28px;
  direction: ltr;
}

#email-text { font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; }

.footer {
  text-align: center;
  padding: 32px 24px 48px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .contact-card { padding: 36px 24px; }
  .email-box { flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; }
}
