:root {
  --bg-dark: #051025;
  --bg-gradient: linear-gradient(135deg, #08142f 0%, #102a55 45%, #172f5d 100%);
  --surface: rgba(16, 42, 85, 0.92);
  --surface-soft: rgba(12, 25, 50, 0.7);
  --text: #f5f9ff;
  --muted: #b3c6ff;
  --accent: #7cffdb;
  --accent-strong: #ff5fb4;
  --accent-warning: #ffd45f;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(
      circle at top left,
      rgba(124, 255, 219, 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(255, 95, 180, 0.18),
      transparent 20%
    ),
    var(--bg-gradient);
  color: var(--text);
}

.page {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

header {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 24px 0 40px;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 10, 30, 0.92), rgba(6, 18, 45, 0.7)),
    url("images/header-bg.jpg") center/cover no-repeat;
  animation: bgShift 30s ease-in-out infinite alternate;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(124, 255, 219, 0.16),
      transparent 25%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(255, 95, 180, 0.16),
      transparent 20%
    );
  pointer-events: none;
}

header > div {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(124, 255, 219, 0.14);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(3rem, 5.2vw, 5.2rem);
  line-height: 0.98;
  margin: 0 0 22px;
  letter-spacing: -0.04em;
  text-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

.hero-text {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.button-primary,
.button-secondary {
  border: none;
  border-radius: 999px;
  padding: 18px 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #6d8dff);
  color: #06121d;
  box-shadow: 0 20px 60px rgba(124, 255, 219, 0.22);
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.button-primary:hover,
.button-secondary:hover,
.button-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 95, 180, 0.16),
      transparent 38%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(124, 255, 219, 0.12),
      transparent 32%
    );
  pointer-events: none;
}

.hero-card h2,
.feature-card h3,
.metric strong {
  position: relative;
  z-index: 1;
}

.hero-card h2 {
  margin: 0 0 18px;
  font-size: 1.2rem;
  color: var(--accent-warning);
}

.hero-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 255, 219, 0.24);
}

.feature-card h3 {
  margin: 0 0 14px;
  font-size: 1.08rem;
  color: #f5f9ff;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.metrics {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.metric {
  background: linear-gradient(
    180deg,
    rgba(14, 28, 60, 0.95),
    rgba(10, 20, 40, 0.8)
  );
  border: 1px solid rgba(124, 255, 219, 0.18);
  border-radius: 28px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.metric:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 255, 219, 0.24);
}

.metric strong {
  display: block;
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.metric span {
  color: var(--muted);
  font-size: 0.98rem;
}

.gallery {
  margin-top: 56px;
}

.screenshots {
  margin-top: 56px;
}

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

.screenshot {
  min-height: 210px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.screenshot:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.26);
}

.screenshot::before {
  content: attr(data-label);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(3, 10, 30, 0.72);
}

.screenshot.placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-size: 180%;
  background-position: center;
}

.screenshot.blue {
  background: linear-gradient(135deg, #3b6cf5, #1f2b8a);
}
.screenshot.purple {
  background: linear-gradient(135deg, #a55bff, #3d2f86);
}
.screenshot.green {
  background: linear-gradient(135deg, #00d2ff, #006d90);
}
.screenshot.pink {
  background: linear-gradient(135deg, #ff6cc9, #8d2f74);
}
.screenshot.orange {
  background: linear-gradient(135deg, #ffc56d, #d24f1b);
}

.feature-list {
  margin-top: 56px;
}

.feature-list .gallery-header {
  margin-bottom: 24px;
}

.creative-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.creative-list li {
  position: relative;
  padding: 24px 24px 24px 84px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(124, 255, 219, 0.03);
}

.creative-list li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7cffdb, #ff5fb4);
  box-shadow: 0 12px 28px rgba(124, 255, 219, 0.2);
}

.creative-list li:nth-child(1)::before {
  transform: translateY(-50%) rotate(0deg);
}
.creative-list li:nth-child(2)::before {
  transform: translateY(-50%) rotate(20deg);
}
.creative-list li:nth-child(3)::before {
  transform: translateY(-50%) rotate(-18deg);
}
.creative-list li:nth-child(4)::before {
  transform: translateY(-50%) rotate(8deg);
}
.creative-list li:nth-child(5)::before {
  transform: translateY(-50%) rotate(-12deg);
}

.creative-list li h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #f5f9ff;
}

.creative-list li p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.gallery-header div h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  color: #fff;
  line-height: 1.1;
}

.gallery-header div p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.75;
}

.eyebrow.accent {
  background: rgba(255, 95, 180, 0.14);
  color: var(--accent-strong);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition:
    transform 0.34s ease,
    box-shadow 0.34s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.gallery-item figcaption {
  margin: 0;
  padding: 22px 20px;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.7;
  background: rgba(7, 14, 34, 0.82);
}

footer {
  margin-top: 72px;
  text-align: center;
  color: rgba(179, 198, 255, 0.78);
  font-size: 0.98rem;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 20px 60px rgba(124, 255, 219, 0.22);
  }
  100% {
    box-shadow: 0 24px 80px rgba(255, 95, 180, 0.28);
  }
}

@keyframes bgShift {
  0% {
    background-position: center 40%;
  }
  100% {
    background-position: center 60%;
  }
}

@media (max-width: 960px) {
  header {
    grid-template-columns: 1fr;
  }

  .features,
  .metrics,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 24px 0 48px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 9vw, 3.4rem);
  }
}
