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

:root {
  --bg: #0b1218;
  --bg-card: rgba(18, 28, 38, 0.85);
  --cyan: #00d4ff;
  --purple: #a855f7;
  --cyan-dim: rgba(0, 212, 255, 0.15);
  --purple-dim: rgba(168, 85, 247, 0.12);
  --text: #e8f0f7;
  --text-muted: #8fa3b8;
  --border: rgba(0, 212, 255, 0.2);
  --whatsapp: #25d366;
  --telegram: #229ed9;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

html {
  scroll-behavior: smooth;
}

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

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

.bg-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--cyan-dim);
  top: -150px;
  right: -100px;
}

.bg-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--purple-dim);
  bottom: -100px;
  left: -80px;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.hero {
  text-align: center;
  margin-bottom: 2rem;
}

.logo {
  max-width: 240px;
  width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 24px rgba(0, 212, 255, 0.25));
}

.tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.steps {
  padding-right: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.steps li {
  margin-bottom: 0.6rem;
}

.steps strong {
  color: var(--cyan);
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan) 0%, #0099cc 50%, var(--purple) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.35);
}

.btn-download:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.45);
}

.btn-download:active:not(:disabled) {
  transform: translateY(0);
}

.btn-download:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn-download.loading .btn-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.download-status {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--cyan);
  font-weight: 500;
}

.download-status.error {
  color: #f87171;
}

.info-list {
  list-style: none;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.info-list li {
  padding: 0.4rem 0;
  padding-right: 1.2rem;
  position: relative;
}

.info-list li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--cyan);
}

.contact-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-btn:hover {
  transform: translateX(-4px);
}

.contact-btn.whatsapp {
  background: linear-gradient(135deg, #128c7e, var(--whatsapp));
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.contact-btn.telegram {
  background: linear-gradient(135deg, #1a8bc7, var(--telegram));
  box-shadow: 0 4px 16px rgba(34, 158, 217, 0.25);
}

.contact-icon {
  font-size: 1.4rem;
}

.contact-label {
  font-weight: 700;
  min-width: 4.5rem;
}

.contact-number {
  margin-right: auto;
  font-size: 0.95rem;
  opacity: 0.95;
}

.footer {
  text-align: center;
  padding-top: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

@media (max-width: 480px) {
  .page {
    padding: 1.5rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 1.45rem;
  }

  .logo {
    max-width: 200px;
  }
}
