@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');

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

body {
  background: #000;
  color: #fff;
  font-family: 'Tajawal', sans-serif;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #222;
}

.navbar-logo img {
  height: 32px;
  display: block;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.icon-btn .tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #fff;
  color: #000;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-top: 8px;
}

.icon-btn:hover .tooltip,
.icon-btn:focus .tooltip,
.icon-btn:focus-visible .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.icon-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.icon-btn span {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .icon-btn span {
    display: none;
  }
  .icon-btn {
    padding: 9px;
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid #333;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  background: #000;
  border-bottom: 1px solid #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0 20px;
  transform: translateY(-130%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links.open {
  transform: translateY(0);
  opacity: 1;
}

.nav-link {
  color: #ccc;
  text-decoration: none;
  font-size: 16px;
  padding: 12px 20px;
  width: 100%;
  max-width: 320px;
  text-align: center;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: #111;
  color: #fff;
}

.nav-cta {
  margin-top: 8px;
  background: #fff;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 100px;
}

.nav-cta--secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  margin-top: 0;
}

.hero {
  min-height: 100vh;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 24px;
}

.logo {
  width: 220px;
  max-width: 60vw;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.3;
  max-width: 800px;
}

.highlight {
  color: #000;
  background: #fff;
  padding: 0 10px;
  display: inline-block;
}

.subtitle {
  font-size: clamp(15px, 2.2vw, 19px);
  color: #ccc;
  max-width: 600px;
  line-height: 1.8;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.cta-btn {
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 40px;
  border-radius: 100px;
  text-decoration: none;
  margin-top: 12px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta-btn--secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.cta-btn--secondary:hover {
  background: #fff;
  color: #000;
}

.cta-btn:hover {
  background: #ccc;
  transform: scale(1.05);
}

.cta-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.stats {
  padding: 60px 20px 90px;
  text-align: center;
  border-top: 1px solid #222;
}

.stats-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  margin-bottom: 40px;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  border: 1px solid #fff;
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 150px;
}

.stat-card--main {
  background: #fff;
  color: #000;
  transform: scale(1.1);
}

.stat-number {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  font-size: 15px;
  color: inherit;
  opacity: 0.75;
}

.stats-text {
  max-width: 650px;
  margin: 0 auto;
  color: #aaa;
  font-size: 15px;
  line-height: 1.9;
}

.features {
  padding: 70px 20px 90px;
  text-align: center;
  border-top: 1px solid #222;
}

.free-badge {
  display: inline-block;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.features-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  margin-bottom: 44px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  border: 1px solid #222;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: right;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: #fff;
  transform: translateY(-4px);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #aaa;
  line-height: 1.8;
}

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

.screenshots {
  padding: 70px 20px 90px;
  text-align: center;
  border-top: 1px solid #222;
}

.screenshots-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  margin-bottom: 10px;
}

.screenshots-subtitle {
  color: #aaa;
  font-size: 15px;
  margin-bottom: 40px;
}

.screenshots-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.screenshots-grid img {
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 460px;
  border-radius: 20px;
  border: 1px solid #333;
  object-fit: contain;
  background: #111;
}

.screenshots-grid img.screenshot-wide {
  max-width: 480px;
  width: 100%;
}

@media (max-width: 720px) {
  .screenshots-grid img {
    max-width: 45vw;
    max-height: 360px;
  }

  .screenshots-grid img.screenshot-wide {
    max-width: 90vw;
  }
}

.site-footer {
  padding: 70px 20px 40px;
  text-align: center;
  border-top: 1px solid #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.footer-logo {
  width: 110px;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
  border-color: #fff;
}

.footer-copy {
  color: #666;
  font-size: 13px;
  margin-top: 8px;
}

.changelog {
  padding: 50px 20px 70px;
  border-top: 1px solid #222;
  display: flex;
  justify-content: center;
}

.changelog-box {
  max-width: 600px;
  width: 100%;
  border: 1px solid #333;
  border-radius: 18px;
  padding: 30px 28px;
  background: #0a0a0a;
}

.changelog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.version-badge {
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 100px;
}

.changelog-date {
  color: #777;
  font-size: 13px;
}

.changelog-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.changelog-list {
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.changelog-list li {
  color: #aaa;
  font-size: 14.5px;
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
