:root {
  --bg: #0a0a0f;
  --text: #e8e8ed;
  --muted: #8b8b9e;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --accent: #22d3ee;
  --gradient: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
}

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

html, body {
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.lang-switcher select {
  padding: 8px 12px;
  background: rgba(22, 22, 31, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.lang-switcher select:focus {
  outline: none;
  border-color: var(--primary);
}

[dir="rtl"] .lang-switcher {
  right: auto;
  left: 20px;
}

[dir="rtl"] .feature {
  flex-direction: row-reverse;
}

[dir="rtl"] .features {
  text-align: right;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(99, 102, 241, 0.15);
  animation: pulse 8s ease-in-out infinite;
}

.bg-glow--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -100px;
  background: rgba(34, 211, 238, 0.08);
  animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 48px 24px 32px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.brand {
  margin-bottom: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo__icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.logo__text strong {
  font-weight: 700;
  color: var(--primary-light);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 28px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
}

.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.feature__dot {
  width: 8px;
  height: 8px;
  background: var(--gradient);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact__link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: color 0.2s;
}

.contact__link:hover {
  color: var(--accent);
}

.footer {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.footer__group {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer__group strong {
  color: var(--text);
}

.footer__logo-link {
  display: inline-flex;
  margin-bottom: 20px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer__logo-link:hover {
  opacity: 1;
}

.footer__logo {
  height: 32px;
  width: auto;
  display: none;
}

.footer__logo.loaded {
  display: block;
}

.footer__logo-fallback {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.footer__logo.loaded + .footer__logo-fallback {
  display: none;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .page {
    padding: 32px 20px 24px;
  }

  .features {
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .feature {
    justify-content: flex-start;
  }
}
