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

:root {
  --color-bg: #0a0f1e;
  --color-surface: #111827;
  --color-border: rgba(255, 255, 255, 0.07);
  --color-accent: #3b82f6;
  --color-accent-glow: rgba(59, 130, 246, 0.18);
  --color-text-primary: #f1f5f9;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --font-en: 'Inter', sans-serif;
  --font-ar: 'Noto Sans Arabic', sans-serif;
  --font-fa: 'Vazirmatn', sans-serif;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-en);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Font per language */
html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="fa"] body { font-family: var(--font-fa); }

/* Subtle animated gradient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(59, 130, 246, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  height: 64px;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.brand {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-primary);
  font-family: var(--font-en);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 3px;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
}

.lang-btn img {
  display: block;
  border-radius: 3px;
}

.lang-btn:hover {
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.lang-btn.active {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

/* ── Pulse Logo ── */
.pulse-logo {
  width: clamp(160px, 30vw, 220px);
  margin: 0 auto 2.5rem;
  filter: drop-shadow(0 0 18px rgba(59, 130, 246, 0.25));
}

.pulse-logo svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Hero ── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px clamp(1.5rem, 6vw, 4rem) 3rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
}

.hero-welcome {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 300;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.hero-cta {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--color-text-secondary);
  font-weight: 300;
}

/* Divider line accent under welcome */
.hero-welcome::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 5vw, 3rem);
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
}

.footer-address {
  font-style: normal;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.9;
}

.footer-email {
  margin-top: 0.4rem;
  color: var(--color-text-secondary);
}

.email-display {
  color: var(--color-text-primary);
  font-weight: 400;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .navbar { height: 56px; }
  .hero { padding-top: 88px; }
  .lang-btn img { width: 24px; }
}
