:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface-2: #13131e;
  --ink: #f0f0f0;
  --muted: #888888;
  --gold: #f5c518;
  --red: #e63946;
  --cyan: #00f5d4;
  --shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Tajawal", "Tahoma", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

.container {
  width: min(1040px, 92%);
  margin-inline: auto;
}

.bg-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
}

.bg-glow--gold {
  background: rgba(245, 197, 24, 0.65);
  top: -80px;
  right: -120px;
}

.bg-glow--cyan {
  background: rgba(0, 245, 212, 0.45);
  top: 280px;
  left: -120px;
}

.hero {
  padding: 72px 0 56px;
  position: relative;
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.1), rgba(0, 245, 212, 0.06));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1;
}

.hero__content {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
}

.hero__logo {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  border: 2px solid rgba(245, 197, 24, 0.7);
  box-shadow: 0 0 24px rgba(245, 197, 24, 0.35);
  background: #fff;
  animation: float 4s ease-in-out infinite;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.tag {
  display: inline-block;
  margin: 0 0 14px;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.6);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 12px;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 720px;
}

.hero__buttons {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--gold);
  color: #0a0a0f;
  box-shadow: 0 10px 20px rgba(245, 197, 24, 0.25);
  position: relative;
  overflow: hidden;
}

.btn--primary:hover {
  background: #ffd54f;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 55%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.btn--primary:hover::after {
  opacity: 0.6;
}

.btn--ghost {
  border: 2px solid rgba(0, 245, 212, 0.7);
  color: var(--cyan);
  background: rgba(0, 245, 212, 0.08);
}

.section {
  padding: 56px 0;
  position: relative;
  z-index: 1;
}

.section--alt {
  background: linear-gradient(0deg, rgba(18, 18, 26, 0.85), rgba(18, 18, 26, 0.85));
}

.section__text {
  color: var(--muted);
  margin-top: 0;
}

.screenshots-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.screenshots-grid img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  border: 2px dashed rgba(245, 197, 24, 0.6);
  background: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 19;
  object-fit: cover;
  transition: transform 220ms ease, border-color 220ms ease;
}

.screenshots-grid img:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(245, 197, 24, 0.25);
  padding: 18px;
  transition: transform 220ms ease, border-color 220ms ease;
}

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

.steps {
  margin: 18px 0 0;
  padding-inline-start: 24px;
}

.steps li {
  margin-bottom: 8px;
}

a {
  color: var(--cyan);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  color: #9ca3af;
  background: #0b0b12;
  position: relative;
  z-index: 1;
}

.fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 700ms ease forwards;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 240ms;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 860px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__logo {
    margin-inline: auto;
  }

  .screenshots-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 54px;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }
}
