:root {
  --bg: #090909;
  --bg-2: #050505;
  --text: #f4f4f4;
  --muted: #b9b9b9;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #ff2323;
  --accent-2: #ff7575;
  --accent-soft: rgba(255, 35, 35, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Inter", "Noto Sans Thai", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 45, 45, 0.16), transparent 20%),
    radial-gradient(circle at 85% 15%, rgba(255, 70, 70, 0.08), transparent 18%),
    radial-gradient(circle at 50% 120%, rgba(120, 0, 0, 0.18), transparent 36%),
    linear-gradient(180deg, #040404 0%, #090909 30%, #060606 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 32%, transparent 85%);
  opacity: 0.18;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 0, 0, 0.08), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(255, 0, 0, 0.05), transparent 28%);
  filter: blur(40px);
  z-index: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 0.42px, transparent 0.42px);
  background-size: 7px 7px;
  mix-blend-mode: soft-light;
  z-index: 1;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--text);
}

.brand-badge {
  width: 48px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ff4141, #df1111);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(255, 35, 35, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 3rem 0 5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #ff7c7c;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.section-head h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  max-width: 10ch;
  text-transform: uppercase;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(180deg, #fff 0%, #ff9f9f 38%, #ff2525 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-text,
.overview-card p,
.feature-card li,
.plan-card p,
.stat span,
.tl-card li,
.plans-cta p,
.section-head p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 60ch;
  margin: 1.4rem 0 0;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(180deg, #ff3434, #de1111);
  color: #fff;
  box-shadow: 0 16px 38px rgba(255, 35, 35, 0.28);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats,
.overview-grid,
.feature-grid,
.plans-grid {
  display: grid;
  gap: 1rem;
}

.hero-stats {
  grid-template-columns: repeat(3, 1fr);
}

.overview-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.plans-grid {
  grid-template-columns: repeat(3, 1fr);
}

.glass {
  background: linear-gradient(180deg, rgba(29, 29, 29, 0.82), rgba(12, 12, 12, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stat,
.overview-card,
.feature-card,
.plan-card,
.hero-shell,
.plans-cta,
.tl-card,
.ss-card {
  border-radius: var(--radius-md);
}

.stat,
.overview-card,
.feature-card,
.plan-card,
.plans-cta {
  padding: 1.25rem 1.35rem;
}

.stat strong {
  display: block;
  margin-bottom: 0.4rem;
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
}

.hero-shell {
  overflow: hidden;
  padding: 1rem;
  transform: perspective(1200px) rotateY(-10deg) rotateX(4deg);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease-out;
  will-change: transform;
}

.hero-shell img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

/* ===== Floating cards ===== */
.hero-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 260px;
  max-width: 320px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.88), rgba(10, 10, 10, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 3;
  transition: transform 0.18s ease-out;
  will-change: transform;
  animation: floatCard 4.8s ease-in-out infinite;
}

.hero-fc-1 {
  left: -30px;
  bottom: 58px;
  animation-delay: 0s;
}

.hero-fc-2 {
  right: -18px;
  top: 72px;
  animation-delay: 1.2s;
}

.fc-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ff8b8b;
  background: rgba(255, 35, 35, 0.12);
  border: 1px solid rgba(255, 35, 35, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.fc-icon-green {
  color: #8cffb1;
  background: rgba(50, 255, 120, 0.1);
  border: 1px solid rgba(50, 255, 120, 0.3);
}

.fc-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff8d8d;
  margin-bottom: 0.22rem;
}

.fc-value {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
  color: #ffffff;
  font-weight: 800;
}

.reveal-delay-1 {
  animation:
    revealCard 0.9s cubic-bezier(0.22, 1, 0.36, 1) both,
    floatCard 4.8s ease-in-out infinite;
  animation-delay: 0.15s, 1.1s;
}

.reveal-delay-2 {
  animation:
    revealCard 0.9s cubic-bezier(0.22, 1, 0.36, 1) both,
    floatCard 5.2s ease-in-out infinite;
  animation-delay: 0.3s, 1.35s;
}

@keyframes revealCard {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.section {
  padding: 2rem 0 5rem;
}

.section-heading,
.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}

.section-heading h2,
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  max-width: 13ch;
}

.feature-card h3,
.plan-card h3,
.overview-card h3,
.tl-card h3 {
  font-size: 1.15rem;
}

.overview-card h3,
.plan-card h3,
.tl-card h3 {
  margin: 0 0 0.7rem;
}

.feature-card ul,
.plan-card ul,
.tl-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 29, 29, 0.22);
  border: 1px solid rgba(255, 29, 29, 0.38);
}

/* ===== Screenshot Slider ===== */
.screenshotSwiper {
  width: 100%;
  padding: 0.5rem 0 3rem;
  overflow: hidden;
  position: relative;
}

.screenshotSwiper .swiper-wrapper {
  align-items: stretch;
}

.screenshotSwiper .swiper-slide {
  height: auto;
  opacity: 0.88;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.screenshotSwiper .swiper-slide-active,
.screenshotSwiper .swiper-slide-next,
.screenshotSwiper .swiper-slide-prev {
  opacity: 1;
}

.ss-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.88), rgba(10, 10, 10, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  height: 100%;
}

.ss-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ss-card:hover img {
  transform: scale(1.03);
}

.ss-caption {
  padding: 1rem 1.1rem 1.1rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.screenshotSwiper .swiper-pagination {
  bottom: 0 !important;
}

.screenshotSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
  transition: all 0.25s ease;
}

.screenshotSwiper .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff3a3a, #ff8a8a);
}

.plan-tag {
  margin: 0 0 0.85rem;
  color: #ff8e8e;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.featured-plan {
  border-color: rgba(255, 35, 35, 0.34);
  box-shadow: 0 24px 80px rgba(255, 35, 35, 0.12);
}

.vip-plan {
  background: linear-gradient(180deg, rgba(42, 16, 16, 0.9), rgba(12, 12, 12, 0.94));
}

.plans-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.plans-cta h3 {
  margin: 0.2rem 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.chip {
  display: inline-flex;
  width: max-content;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 35, 35, 0.12);
  border: 1px solid rgba(255, 35, 35, 0.28);
  color: #ff9b9b;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.2rem;
  padding-left: 1rem;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 50, 50, 0.6), rgba(255, 255, 255, 0.08));
}

.timeline-item {
  position: relative;
  padding-left: 1.7rem;
}

.tl-dot {
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff4545, #cf1010);
  box-shadow: 0 0 0 4px rgba(255, 35, 35, 0.1);
}

.tl-card {
  padding: 1.25rem 1.35rem;
}

.tl-head {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.tl-head h3 {
  margin: 0;
}

.tl-tag {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #ff2020;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tl-card time {
  display: block;
  color: #ff8b8b;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.socials {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== feature head ===== */
.feature-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-head h3 {
  margin: 0;
  line-height: 1.2;
}

.module-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 35, 35, 0.1);
  border: 1px solid rgba(255, 35, 35, 0.38);
  color: #ffb3b3;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ===== responsive ===== */
@media (max-width: 1100px) {
  .hero,
  .overview-grid,
  .feature-grid,
  .plans-grid,
  .plans-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-shell {
    transform: none !important;
  }

  .hero-floating-card {
    position: static;
    margin-top: 1rem;
    max-width: none;
    min-width: 0;
    transform: none !important;
  }

  .screenshotSwiper {
    overflow: hidden;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 86px 1rem auto 1rem;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: rgba(8, 8, 8, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  body.menu-open .nav-links {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .section,
  .hero {
    padding-bottom: 4rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .ss-card img {
    aspect-ratio: 16 / 11;
  }

  .ss-caption {
    font-size: 0.92rem;
  }
}

@media (max-width: 560px) {
  .brand-copy small {
    display: none;
  }

  .container {
    width: min(calc(100% - 1.1rem), var(--container));
  }

  .hero h1 {
    font-size: clamp(2.4rem, 13vw, 4.2rem);
  }

  .section-heading h2,
  .section-head h2 {
    max-width: none;
  }

  .feature-head {
    align-items: flex-start;
  }

  .feature-head h3 {
    line-height: 1.15;
  }

  .hero-floating-card {
    gap: 0.8rem;
    padding: 0.9rem;
  }

  .fc-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .fc-value {
    font-size: 0.95rem;
  }
  /* ===== Screenshot section premium ===== */
#gallery {
  position: relative;
}

.screenshots-wrap {
  position: relative;
  padding: 1rem 0 3.2rem;
  overflow: hidden;
  border-radius: 32px;
}

.screenshots-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 35%, rgba(255, 30, 30, 0.16), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(255, 90, 90, 0.10), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(120, 0, 0, 0.22), transparent 34%);
  filter: blur(24px);
}

.screenshotSwiper {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1rem 0 3.4rem;
  overflow: visible;
}

.screenshotSwiper .swiper-wrapper {
  align-items: stretch;
}

.screenshotSwiper .swiper-slide {
  height: auto;
  opacity: 0.34;
  transform: scale(0.88);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    filter 0.45s ease;
  filter: blur(1.5px);
}

.screenshotSwiper .swiper-slide-prev,
.screenshotSwiper .swiper-slide-next {
  opacity: 0.58;
  transform: scale(0.93);
  filter: blur(0.4px);
}

.screenshotSwiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.ss-card {
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(22, 22, 22, 0.88), rgba(10, 10, 10, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  height: 100%;
}

.ss-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050505;
}

.ss-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain; /* ถ้าจะให้เต็มแบบครอป เปลี่ยนเป็น cover */
  object-position: center;
  background: #050505;
  transition: transform 0.45s ease;
}

.screenshotSwiper .swiper-slide-active .ss-card img:hover {
  transform: scale(1.02);
}

.ss-caption {
  padding: 1rem 1.1rem 1.1rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* pagination */
.screenshotSwiper .swiper-pagination {
  bottom: 0 !important;
}

.screenshotSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.20);
  transition: all 0.25s ease;
}

.screenshotSwiper .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff3a3a, #ff8a8a);
  box-shadow: 0 0 18px rgba(255, 58, 58, 0.35);
}

/* section title spacing */
#gallery .section-head p {
  max-width: 60ch;
}

/* responsive */
@media (max-width: 1100px) {
  .screenshots-wrap {
    border-radius: 24px;
  }

  .screenshotSwiper {
    overflow: hidden;
  }

  .screenshotSwiper .swiper-slide,
  .screenshotSwiper .swiper-slide-prev,
  .screenshotSwiper .swiper-slide-next,
  .screenshotSwiper .swiper-slide-active {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 768px) {
  .ss-media {
    aspect-ratio: 16 / 10;
  }

  .ss-caption {
    font-size: 0.92rem;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 30, 30, 0.12), transparent 18%),
    radial-gradient(circle at 85% 20%, rgba(255, 70, 70, 0.08), transparent 16%),
    radial-gradient(circle at 50% 100%, rgba(100, 0, 0, 0.16), transparent 30%);
  filter: blur(30px);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 82%);
  opacity: 0.16;
  z-index: 0;
}

}


/* ===== Premium background like AlexMapX ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 82%);
  opacity: 0.16;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 30, 30, 0.12), transparent 18%),
    radial-gradient(circle at 85% 20%, rgba(255, 70, 70, 0.08), transparent 16%),
    radial-gradient(circle at 50% 100%, rgba(100, 0, 0, 0.16), transparent 30%);
  filter: blur(30px);
  z-index: 0;
}

/* ===== Premium screenshot slider ===== */
#gallery { position: relative; }

.screenshots-wrap {
  position: relative;
  padding: 1rem 0 3.2rem;
  overflow: hidden;
  border-radius: 32px;
}

.screenshots-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 35%, rgba(255, 30, 30, 0.16), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(255, 90, 90, 0.10), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(120, 0, 0, 0.22), transparent 34%);
  filter: blur(24px);
}

.screenshotSwiper {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1rem 0 3.4rem;
  overflow: visible;
}

.screenshotSwiper .swiper-wrapper { align-items: stretch; }

.screenshotSwiper .swiper-slide {
  height: auto;
  opacity: 0.34;
  transform: scale(0.88);
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
  filter: blur(1.5px);
}

.screenshotSwiper .swiper-slide-prev,
.screenshotSwiper .swiper-slide-next {
  opacity: 0.58;
  transform: scale(0.93);
  filter: blur(0.4px);
}

.screenshotSwiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.ss-card {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(22,22,22,0.88), rgba(10,10,10,0.96));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.42),
    0 0 0 1px rgba(255,255,255,0.02) inset;
  height: 100%;
}

.ss-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050505;
}

.ss-media img,
.ss-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #050505;
  transition: transform 0.45s ease;
}

.screenshotSwiper .swiper-slide-active .ss-card img:hover { transform: scale(1.02); }

.ss-caption {
  padding: 1rem 1.1rem 1.1rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.screenshotSwiper .swiper-pagination { bottom: 0 !important; }

.screenshotSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 1;
  background: rgba(255,255,255,0.20);
  transition: all 0.25s ease;
}

.screenshotSwiper .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff3a3a, #ff8a8a);
  box-shadow: 0 0 18px rgba(255,58,58,0.35);
}

@media (max-width: 1100px) {
  .screenshots-wrap { border-radius: 24px; }
  .screenshotSwiper { overflow: hidden; }
  .screenshotSwiper .swiper-slide,
  .screenshotSwiper .swiper-slide-prev,
  .screenshotSwiper .swiper-slide-next,
  .screenshotSwiper .swiper-slide-active {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 768px) {
  .ss-media { aspect-ratio: 16 / 10; }
  .ss-caption { font-size: 0.92rem; }
}
.plan-head {
  margin-bottom: 1rem;
}

.plan-subtext {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.plan-popular {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff3a3a, #d91414);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 28px rgba(255, 35, 35, 0.28);
}

.plan-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-card h3 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.7;
}

.plan-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  margin-top: 0.08rem;
  border-radius: 999px;
}

.plan-features li.included {
  color: var(--text);
}

.plan-features li.included .plan-icon {
  color: #7dff9b;
  background: rgba(40, 255, 120, 0.1);
  border: 1px solid rgba(40, 255, 120, 0.24);
}

.plan-features li.excluded {
  color: rgba(255, 255, 255, 0.42);
}

.plan-features li.excluded .plan-icon {
  color: #ff8b8b;
  background: rgba(255, 35, 35, 0.08);
  border: 1px solid rgba(255, 35, 35, 0.2);
}

.plan-features li.highlight {
  color: #ffffff;
  font-weight: 700;
}

.plan-card .btn-full {
  margin-top: auto;
}

.featured-plan {
  transform: translateY(-8px);
  border-color: rgba(255, 35, 35, 0.4);
  box-shadow:
    0 28px 90px rgba(255, 35, 35, 0.16),
    0 0 0 1px rgba(255, 80, 80, 0.08) inset;
}

.featured-plan::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top, rgba(255, 40, 40, 0.12), transparent 38%);
}

.vip-plan {
  border-color: rgba(255, 120, 120, 0.18);
}

@media (max-width: 1100px) {
  .featured-plan {
    transform: none;
  }
}