/* ---------- CSS RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  /* Deep-sea gradient backdrop */
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

/* ---------- CARD ---------- */
.card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  width: 100%;
  max-width: 960px;              
  padding: 3rem 3rem 4rem;               
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Optional: center content inside the wide card */
.card > *:not(.buttons):not(.figma):not(.demo) {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- LOGO & HEADERS ---------- */
.logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 1.1rem;
  border-radius: 14px;
}

h1 {
  font-size: 2.4rem;
  letter-spacing: 0.8px;
  margin-bottom: 0.25rem;
}

.version {
  font-size: 0.95rem;
  color: #c6d4e1;
  margin-bottom: 1.7rem;
}

/* ---------- DESCRIPTION ---------- */
.description {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #dfe8f3;
  margin-bottom: 2rem;
}

/* ---------- BUTTONS ---------- */
.buttons {
  display: flex;
  flex-direction: column;        /* stacks on mobile */
  gap: 1rem;
  margin-bottom: 2.4rem;
}

.btn {
  display: inline-block;
  background: #1f8ef1;
  color: #ffffff;
  text-decoration: none;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  background: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.45);
}

/* Make buttons sit side-by-side on wider screens */
@media (min-width: 460px) {
  .buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ---------- DEMO SECTION ---------- */
.demo,
.figma {
  margin-top: 2.4rem;
}

.demo h2,
.figma h2 {
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
  color: #e9f0f8;
}

.gif {
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

/* ---------- FIGMA EMBED ---------- */
.figma iframe {
  width: 100%;
  height: 470px;
  border-radius: 12px;
}

/* ---------- SCROLLBAR (OPTIONAL) ---------- */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 8px;
}
body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

.footer {
  margin-top: 2.5rem;
  text-align: center;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.85;
}

.footer a {
  color: #1f8ef1;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

.version-selector {
  margin-bottom: 1.5rem;
  color: #c6d4e1;
  font-size: 0.95rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.version-selector select {
  background-color: #1a1a1a;
  color: #ffffff;
  border: 1px solid #444;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.version-date {
  color: #999;
}

.changelog {
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: #d0d8e4;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.1rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}