@import url("tokens.css");
@import url("global.css");

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: var(--s-4);
  top: var(--s-4);
  width: auto;
  height: auto;
  padding: var(--s-2) var(--s-3);
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--r-sm);
  z-index: 999;
}

/* ── Header ─────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-border {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.25) 30%, rgba(255,0,170,.2) 70%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-3) 0;
  gap: var(--s-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  flex-shrink: 0;
}

.brand img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 10px;
  transition: opacity 180ms ease;
}

.brand:hover img {
  opacity: 0.85;
}

.brand .logo-wordmark {
  height: 52px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: var(--stroke);
  margin: 0 var(--s-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.nav .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-2) var(--s-3);
  font-size: 0.92rem;
  min-height: 38px;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  font-size: 0.92rem;
}

.cart-link svg {
  width: 17px;
  height: 17px;
}

.account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-2);
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  transition: background 160ms ease;
}

.account-link:hover {
  background: rgba(255,255,255,0.06);
}

.account-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.account-link svg circle,
.account-link svg path {
  fill: #ffffff;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-2);
  position: relative;
  padding: var(--s-1) 0;
  transition: color 160ms ease;
}

.nav-links a.active {
  color: var(--text-0);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(var(--s-1) * -0.5);
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--el-cyan);
  opacity: 1;
  transform: scaleX(1);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(var(--s-1) * -0.5);
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--el-cyan);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--text-0);
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Hamburger menu button */
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--stroke);
  background: transparent;
  border-radius: var(--r-sm);
  padding: 0;
  color: var(--text-0);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.menu-btn:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.15);
}

.menu-icon { display: block; }
.menu-icon--close { display: none; }
.menu-btn[aria-expanded="true"] .menu-icon--open { display: none; }
.menu-btn[aria-expanded="true"] .menu-icon--close { display: block; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--el-cyan);
  color: var(--text-0);
}

.btn-red {
  background: var(--el-orange);
  color: var(--bg-0);
  border: none;
}

/* =============================================
   FEATURE SLIDER — cinematic game-style hero
   ============================================= */

.feature-slider {
  position: relative;
  overflow: hidden;
  background: var(--bg-0);
}

/* Slides */
.slider-track {
  position: relative;
}

.slide {
  display: none;
  position: relative;
}

.slide.is-active {
  display: block;
}

.slide.is-entering {
  animation: slideEnterRight 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.slide.is-leaving {
  animation: slideLeaveLeft 0.45s ease forwards;
}

@keyframes slideEnterRight {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideLeaveLeft {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-48px); }
}

/* Atmospheric background layers per slide */
.slide-atmos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.slide-atmos--cyan::before,
.slide-atmos--cyan::after,
.slide-atmos--pink::before,
.slide-atmos--pink::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.slide-atmos--cyan::before {
  top: -15%; right: 5%;
  width: 55%; height: 100%;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.22) 0%, transparent 65%);
}
.slide-atmos--cyan::after {
  bottom: -20%; left: 5%;
  width: 40%; height: 70%;
  background: radial-gradient(ellipse, rgba(255, 149, 0, 0.14) 0%, transparent 65%);
}
.slide-atmos--pink::before {
  top: -10%; left: -5%;
  width: 55%; height: 90%;
  background: radial-gradient(ellipse, rgba(255, 0, 170, 0.20) 0%, rgba(0, 212, 255, 0.08) 55%, transparent 70%);
}
.slide-atmos--pink::after {
  bottom: -10%; right: 10%;
  width: 40%; height: 60%;
  background: radial-gradient(ellipse, rgba(255, 149, 0, 0.12) 0%, transparent 65%);
}

/* Slide layout */
.slide-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  padding-top: calc(var(--s-8) + var(--s-4));
  padding-bottom: var(--s-7);
}

.slide-copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--el-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 100px;
  padding: 5px 16px;
  width: fit-content;
  margin-bottom: var(--s-1);
}

.slide-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--el-cyan);
  box-shadow: 0 0 8px var(--el-cyan);
  flex-shrink: 0;
}

.slide-heading {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.slide-heading-accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-desc {
  color: var(--text-1);
  font-size: 1.05rem;
  max-width: 48ch;
  line-height: 1.7;
  margin: 0;
}

.slide-actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: var(--s-3);
}

/* The floating feature card */
.slide-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-visual-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md, 8px);
}

.slide-visual-video {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md, 8px);
}

.feature-card {
  background: #ffffff;
  border-radius: 28px;
  padding: var(--s-6) var(--s-6) var(--s-3);
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.3),
    0 0 70px rgba(0, 212, 255, 0.38),
    0 0 120px rgba(255, 0, 170, 0.22),
    0 50px 100px rgba(0, 0, 0, 0.55);
  animation: featureFloat 5s ease-in-out infinite;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 29px;
  background: var(--grad-brand);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s;
}

.feature-card:hover::before {
  opacity: 1;
}

@keyframes featureFloat {
  0%, 100% { transform: translateY(0) rotate(-0.8deg); }
  50%       { transform: translateY(-14px) rotate(0.8deg); }
}

.feature-card-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.feature-card-label {
  margin-top: var(--s-3);
  margin-bottom: var(--s-1);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
}

/* Stats visual (slide 2 decorative element) */
/* ── Floating badges (hero visuals) ─────────────── */
.stats-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 0.85;
}

.stat-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  white-space: nowrap;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    inset 0 0.5px 0 rgba(255,255,255,0.08);
  animation:
    badgeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s) both,
    badgeFloat var(--float-dur, 5s) ease-in-out var(--delay, 0s) infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.45),
    0 0 20px var(--badge-glow, rgba(0,212,255,0.15)),
    inset 0 0.5px 0 rgba(255,255,255,0.1);
}

/* Badge accent dot */
.stat-card::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--badge-accent, var(--el-cyan));
  box-shadow: 0 0 8px var(--badge-accent, var(--el-cyan));
  flex-shrink: 0;
}

/* ── Position & color per badge ── */
/* 1st badge — top-left area, cyan */
.stat-card:nth-child(1) {
  top: 4%;
  left: 8%;
  --badge-accent: var(--el-cyan);
  --badge-glow: rgba(0,212,255,0.2);
  --float-dur: 4.5s;
}

/* 2nd badge — top-right, pink */
.stat-card:nth-child(2) {
  top: 10%;
  right: 2%;
  --badge-accent: var(--el-pink);
  --badge-glow: rgba(255,0,170,0.2);
  --float-dur: 5.5s;
}

/* 3rd badge (wide/featured) — center, orange/gold */
.stat-card:nth-child(3) {
  top: 44%;
  left: 12%;
  --badge-accent: var(--el-orange);
  --badge-glow: rgba(255,149,0,0.2);
  --float-dur: 5s;
  padding: var(--s-3) var(--s-5);
  background: linear-gradient(135deg, rgba(255,149,0,0.08) 0%, rgba(255,215,0,0.04) 100%);
  border-color: rgba(255,149,0,0.18);
}

/* 4th badge — bottom-right, cyan */
.stat-card:nth-child(4) {
  bottom: 8%;
  right: 6%;
  --badge-accent: var(--el-cyan);
  --badge-glow: rgba(0,212,255,0.2);
  --float-dur: 6s;
}

/* Wide badge keeps row layout */
.stat-card--wide {
  border-radius: 999px;
}

.stat-card--wide::before {
  width: 10px;
  height: 10px;
}

.stat-num {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 500;
}

.stat-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255,215,0,0.4));
}

.stat-badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-0);
}

/* ── Depth ring decorations ── */
.stats-visual::before,
.stats-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

.stats-visual::before {
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.stats-visual::after {
  width: 180px;
  height: 180px;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  border-color: rgba(255,255,255,0.03);
}

@keyframes badgeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(var(--float-y, -8px)); }
}

/* Alternate float directions for organic feel */
.stat-card:nth-child(1) { --float-y: -8px; }
.stat-card:nth-child(2) { --float-y: -6px; }
.stat-card:nth-child(3) { --float-y: -10px; }
.stat-card:nth-child(4) { --float-y: -7px; }

/* Slide with no visual: center the copy */
.slide-layout.no-visual {
  grid-template-columns: 1fr;
  max-width: 700px;
  margin: 0 auto;
}

/* Full-width layout (for video slide) */
.slide-layout--full {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0;
}

/* Video slide */
.slide--video {
  position: relative;
  overflow: hidden;
}

.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.slide-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(11, 11, 15, 0.88) 0%,
    rgba(11, 11, 15, 0.65) 50%,
    rgba(11, 11, 15, 0.2) 100%
  );
}

.slide--video .slide-layout {
  position: relative;
  z-index: 2;
}

/* Purple tag variant */
.slide-tag--cyan {
  color: var(--el-cyan);
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.28);
}
.slide-tag--cyan::before {
  background: var(--el-cyan);
  box-shadow: 0 0 8px var(--el-cyan);
}
.slide-tag--pink {
  color: var(--el-pink);
  background: rgba(255, 0, 170, 0.1);
  border-color: rgba(255, 0, 170, 0.28);
}
.slide-tag--pink::before {
  background: var(--el-pink);
  box-shadow: 0 0 8px var(--el-pink);
}
.slide-tag--purple {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.1);
  border-color: rgba(192, 132, 252, 0.28);
}
.slide-tag--purple::before {
  background: #c084fc;
  box-shadow: 0 0 8px #c084fc;
}

/* Pets slide atmosphere */
.slide-atmos--pets::before {
  top: -10%; left: -5%;
  width: 50%; height: 90%;
  background: radial-gradient(ellipse, rgba(192, 132, 252, 0.22) 0%, rgba(255, 0, 170, 0.1) 50%, transparent 70%);
}

.slide-atmos--pets::after {
  bottom: -10%; right: 0;
  width: 45%; height: 70%;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.14) 0%, transparent 65%);
}

/* Pets marquee showcase */
.pets-showcase {
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

.pets-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.pets-row {
  overflow: hidden;
}

.pets-track {
  display: flex;
  gap: var(--s-3);
  width: max-content;
}

.pets-track--fwd {
  animation: petsScrollFwd 28s linear infinite;
}

.pets-track--rev {
  animation: petsScrollRev 32s linear infinite;
}

@keyframes petsScrollFwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes petsScrollRev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.pet-card {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(192, 132, 252, 0.2);
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.15), 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.pet-card:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 0 30px rgba(192, 132, 252, 0.45), 0 16px 32px rgba(0,0,0,0.5);
  border-color: rgba(192, 132, 252, 0.6);
  z-index: 2;
  position: relative;
}

.pet-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pause marquee on hover */
.pets-marquee-wrap:hover .pets-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .pets-showcase {
    max-width: 100%;
  }
  .pet-card {
    width: 90px;
    height: 90px;
    border-radius: 50%;
  }
}

/* Orange tag variant (Ascend pages) */
.slide-tag--orange {
  color: #FF9500;
  background: rgba(255, 149, 0, 0.1);
  border-color: rgba(255, 149, 0, 0.28);
}

.slide-tag--orange::before {
  background: #FF9500;
  box-shadow: 0 0 8px #FF9500;
}

/* Orange/warm atmosphere (Ascend slides) */
.slide-atmos--orange::before {
  top: -15%; right: 0;
  width: 55%; height: 90%;
  background: radial-gradient(ellipse, rgba(255, 149, 0, 0.2) 0%, rgba(255, 0, 170, 0.08) 50%, transparent 70%);
}
.slide-atmos--orange::after {
  bottom: -15%; left: 5%;
  width: 45%; height: 70%;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.12) 0%, transparent 65%);
}

/* ── Stacked items composition ── */
.ascend-items-stack {
  position: relative;
  width: 340px;
  height: 340px;
  flex-shrink: 0;
}

.ascend-item {
  position: absolute;
  background: #ffffff;
  border-radius: 22px;
  padding: var(--s-4);
}

.ascend-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mystery box — center back */
.ascend-item--box {
  width: 200px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  box-shadow:
    0 0 50px rgba(255, 149, 0, 0.4),
    0 0 100px rgba(255, 0, 170, 0.15),
    0 24px 60px rgba(0, 0, 0, 0.55);
  z-index: 2;
  animation: floatBox 5s ease-in-out infinite;
}

/* Flame — top left */
.ascend-item--streak {
  width: 148px;
  top: 5px; left: -15px;
  transform: rotate(12deg);
  box-shadow:
    0 0 40px rgba(255, 100, 0, 0.55),
    0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 3;
  animation: floatStreak 4s ease-in-out infinite 0.7s;
}

/* Coins — bottom right */
.ascend-item--coins {
  width: 164px;
  bottom: 0; right: -20px;
  transform: rotate(-7deg);
  box-shadow:
    0 0 40px rgba(255, 200, 0, 0.5),
    0 16px 48px rgba(0, 0, 0, 0.45);
  z-index: 1;
  animation: floatCoins 6s ease-in-out infinite 1.4s;
}

@keyframes floatBox {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg) translateY(0); }
  50%       { transform: translate(-50%, -50%) rotate(-4deg) translateY(-12px); }
}
@keyframes floatStreak {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50%       { transform: rotate(12deg) translateY(-16px); }
}
@keyframes floatCoins {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50%       { transform: rotate(-7deg) translateY(-10px); }
}

/* Entry animation for stacked items — each item has its own keyframes so "to" matches the float animation and avoids jumps */
.slide.is-active .ascend-item--box    { animation: itemInBox 0.85s cubic-bezier(0.22,1,0.36,1) 0.1s both, floatBox 5s ease-in-out 0.95s infinite; }
.slide.is-active .ascend-item--streak { animation: itemInStreak 0.85s cubic-bezier(0.22,1,0.36,1) 0.28s both, floatStreak 4s ease-in-out 1.13s infinite; }
.slide.is-active .ascend-item--coins  { animation: itemInCoins 0.85s cubic-bezier(0.22,1,0.36,1) 0.46s both, floatCoins 6s ease-in-out 1.31s infinite; }

@keyframes itemInBox {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(-4deg) scale(0.82); }
  to   { opacity: 1; transform: translate(-50%, -50%) rotate(-4deg) scale(1); }
}
@keyframes itemInStreak {
  from { opacity: 0; transform: rotate(12deg) scale(0.82); }
  to   { opacity: 1; transform: rotate(12deg) scale(1); }
}
@keyframes itemInCoins {
  from { opacity: 0; transform: rotate(-7deg) scale(0.82); }
  to   { opacity: 1; transform: rotate(-7deg) scale(1); }
}

@media (max-width: 768px) {
  .ascend-items-stack {
    width: 240px;
    height: 240px;
  }
  .ascend-item--box    { width: 140px; }
  .ascend-item--streak { width: 100px; top: 0; left: -5px; }
  .ascend-item--coins  { width: 115px; right: -10px; }
}

/* ── Avatar card (circular portraits) ── */
.avatar-showcase {
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

.avatar-card {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 149, 0, 0.25);
  box-shadow:
    0 0 18px rgba(255, 149, 0, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.avatar-card:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow:
    0 0 30px rgba(255, 149, 0, 0.55),
    0 16px 32px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 149, 0, 0.7);
  position: relative;
  z-index: 2;
}

.avatar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .avatar-card {
    width: 80px;
    height: 80px;
  }
}

/* ── Analytics floating stack ── */
.analytics-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 380px;
}

.analytics-item {
  position: absolute;
}

.analytics-item img {
  width: 100%;
  display: block;
}

.analytics-item--chart {
  width: 270px;
  bottom: 0;
  left: 10px;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 200, 255, 0.15));
  animation: analyticsItemIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.1s both, analyticsFloat1 5s ease-in-out infinite 1s;
}

.analytics-item--leader {
  width: 190px;
  bottom: 70px;
  right: 0;
  z-index: 3;
  filter: drop-shadow(0 10px 30px rgba(0, 210, 255, 0.5));
  animation: analyticsItemIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.25s both, analyticsFloat2 6s ease-in-out infinite 1.2s;
}

.analytics-item--activity {
  width: 120px;
  top: 20px;
  right: 20px;
  z-index: 2;
  filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.12));
  animation: analyticsItemIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.4s both, analyticsFloat3 7s ease-in-out infinite 1.4s;
}

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

@keyframes analyticsFloat1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes analyticsFloat2 {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50%       { transform: translateY(-14px) rotate(4deg); }
}
@keyframes analyticsFloat3 {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%       { transform: translateY(-9px) rotate(-6deg); }
}

.slide.is-active .analytics-item--chart    { animation: analyticsItemIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.1s both, analyticsFloat1 5s ease-in-out infinite 1s; }
.slide.is-active .analytics-item--leader   { animation: analyticsItemIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.25s both, analyticsFloat2 6s ease-in-out infinite 1.2s; }
.slide.is-active .analytics-item--activity { animation: analyticsItemIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.4s both, analyticsFloat3 7s ease-in-out infinite 1.4s; }

@media (max-width: 768px) {
  .analytics-stack {
    height: 240px;
    max-width: 280px;
  }
  .analytics-item--chart    { width: 180px; }
  .analytics-item--leader   { width: 130px; bottom: 40px; }
  .analytics-item--activity { width: 85px; }
}

/* Teal atmosphere (Analytics slides) */
.slide-atmos--teal::before {
  background: radial-gradient(ellipse 65% 55% at 15% 55%, rgba(0, 230, 180, 0.18) 0%, transparent 70%);
}
.slide-atmos--teal::after {
  background: radial-gradient(ellipse 50% 60% at 85% 25%, rgba(0, 180, 255, 0.13) 0%, transparent 70%);
}

/* Teal tag variant */
.slide-tag--teal {
  color: #00e6b4;
  background: rgba(0, 230, 180, 0.08);
  border-color: rgba(0, 230, 180, 0.28);
}

.slide-tag--teal::before {
  background: #00e6b4;
  box-shadow: 0 0 8px #00e6b4;
}

/* Gold tag variant */
.slide-tag--gold {
  color: #FFD700;
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.3);
}

.slide-tag--gold::before {
  background: #FFD700;
  box-shadow: 0 0 8px #FFD700;
}

/* Slider controls bar */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-4) var(--s-7);
  position: relative;
  z-index: 2;
}

.slider-dots {
  display: flex;
  gap: var(--s-2);
  align-items: center;
}

.slider-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.35s, width 0.35s;
}

.slider-dot.is-active {
  background: var(--grad-brand);
  width: 52px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-0);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
}

/* Entry animation for slide text */
.slide.is-active .slide-tag  { animation: slideItemRise 0.5s ease 0.05s both; }
.slide.is-active .slide-heading { animation: slideItemRise 0.5s ease 0.12s both; }
.slide.is-active .slide-desc    { animation: slideItemRise 0.5s ease 0.20s both; }
.slide.is-active .slide-actions { animation: slideItemRise 0.5s ease 0.28s both; }
.slide.is-active .feature-card  { animation: featureCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both, featureFloat 5s ease-in-out 0.8s infinite; }

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

@keyframes featureCardIn {
  from { opacity: 0; transform: scale(0.88) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .slide-layout {
    grid-template-columns: 1fr;
    gap: var(--s-6);
    min-height: auto;
    padding-top: 20px;
    padding-bottom: var(--s-5);
  }

  /* .slide-visual { order: -1; } */

  .feature-card {
    max-width: 240px;
    padding: var(--s-4);
    animation: none !important;
  }

  .slide-heading {
    font-size: clamp(1.5rem, 7vw, 2.8rem);
  }

  .slide-actions--inline {
    flex-wrap: nowrap;
  }
  .slide-actions--inline .btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
    white-space: nowrap;
  }

  /* Keep stats-visual (About / LMS etc. slide cards) within viewport */
  .slide-visual {
    min-width: 0;
    max-width: 100%;
  }
  .slide-visual .stats-visual {
    max-width: 300px;
    margin: 0 auto;
  }
  .slide-visual .stat-card {
    padding: var(--s-2) var(--s-3);
  }
  .slide-visual .stat-num {
    font-size: 1rem;
  }
  .slide-visual .stat-label {
    font-size: 0.7rem;
  }
}

/* Legacy hero classes kept for other pages */
.hero {
  /* padding: calc(var(--s-8) + var(--s-2)) 0 var(--s-7); */
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -10% 0 auto 0;
  height: 60%;
  background: var(--grad-brand);
  opacity: 0.12;
  filter: blur(calc(var(--s-8) + var(--s-4)));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-7);
}

h1, h2, h3 {
  margin: 0 0 var(--s-3);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-family: var(--font-heading);
}

h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.lead {
  color: var(--text-1);
  font-size: 1.1rem;
  max-width: 60ch;
}

.hero-cta {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: var(--s-5);
}

.actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  align-items: center;
}

.accent-underline {
  position: relative;
  display: inline-block;
}

.accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(var(--s-1) * -1);
  width: 100%;
  height: calc(var(--s-1) / 2);
  border-radius: calc(var(--r-lg) * 2);
  background: var(--grad-brand);
}

.hero-card {
  padding: var(--s-6);
}

.feature-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #141a28 0%, #0b0f1a 100%);
  border: none;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.45), 0 20px 52px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0.9;
}


.check-list {
  display: grid;
  gap: var(--s-3);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-1);
}

.check-list li {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}

.dot {
  width: var(--s-2);
  height: var(--s-2);
  margin-top: var(--s-2);
  border-radius: calc(var(--r-lg) * 2);
  background: var(--el-cyan);
  flex: 0 0 auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.stat {
  background: linear-gradient(180deg, #141a28 0%, #0b0f1a 100%);
  border: none;
  border-radius: var(--r-md);
  padding: var(--s-5);
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.stat strong {
  display: block;
  font-size: 1.4rem;
}

.stat span {
  color: var(--text-2);
  font-size: 0.95rem;
}

.stat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0.85;
}

.section-header {
  max-width: 70ch;
  margin-bottom: var(--s-6);
}

.home-section {
  padding-top: var(--s-8);
}

.home-section h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-1) var(--s-3);
  border-radius: calc(var(--r-lg) * 2);
  border: 1px solid var(--stroke);
  background: var(--bg-1);
  color: var(--text-1);
  font-weight: 600;
  margin-bottom: var(--s-3);
}

.sub {
  color: var(--text-1);
  margin: 0 0 var(--s-5);
  max-width: 70ch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(var(--s-8) * 3 + var(--s-6) + var(--s-4)), 1fr));
  gap: var(--s-5);
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.platform-note {
  margin-top: var(--s-4);
  font-size: 0.95rem;
  color: var(--text-1);
  max-width: 60ch;
  margin-bottom: 0;
}

.card {
  padding: var(--s-6);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.card_contact {
  padding: 12px 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  background: linear-gradient(180deg, #141a28 0%, #0b0f1a 100%);
  border: none;
  border-radius: 16px;
}

.card_contact .card-icon.card-icon--img {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm, 6px);
  background: none;
}

.card_contact .card-icon.card-icon--img .contact-card-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card--icon {
  flex-direction: row;
  align-items: center;
  gap: var(--s-2);
}

.card-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--s-3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  color: #fff;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0.9;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover,
.feature-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.card h3 {
  margin-bottom: var(--s-2);
}

.card p {
  color: var(--text-2);
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
}

.ascend-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-6);
  align-items: center;
}

.ascend-content {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.ascend-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
  color: var(--text-1);
  font-size: 0.95rem;
}

.ascend-benefits li {
  padding-left: var(--s-4);
  position: relative;
}

.ascend-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--el-cyan);
  transform: translateY(-50%);
}

.ascend-image {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.01);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.35), 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.015);
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.ascend-image img {
  display: block;
  width: 100%;
  height: auto;
}

.ascend-figure {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: center;
  justify-content: center;
}

.ascend-art-caption {
  font-size: 0.9rem;
  color: var(--text-2);
  text-align: center;
}

.list {
  margin: 0;
  padding-left: var(--s-5);
  color: var(--text-1);
}

.icon-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: var(--s-2);
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
}

.icon-list .icon-dot {
  margin-top: 0.45em;
  flex: 0 0 auto;
}

.list li {
  margin: var(--s-2) 0;
}

.note {
  position: relative;
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--bg-2);
  color: var(--text-1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.note::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0.9;
}

.note > * {
  position: relative;
  z-index: 1;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke);
  background: var(--bg-1);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
  margin-top: var(--s-6);
}

.logo-pill {
  padding: var(--s-3) var(--s-5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--r-lg) * 2);
  color: var(--text-1);
  background: var(--bg-1);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(var(--s-8) * 4 + var(--s-5)), 1fr));
  gap: var(--s-5);
}

.case-card {
  padding: var(--s-5);
}

.case-tag {
  display: inline-flex;
  padding: var(--s-1) var(--s-2);
  border-radius: calc(var(--r-lg) * 2);
  border: 1px solid var(--stroke);
  color: var(--text-2);
  font-size: 0.9rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(var(--s-8) * 3 + var(--s-5)), 1fr));
  gap: var(--s-5);
}

.process-step {
  padding: var(--s-5);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--s-5) + var(--s-3));
  height: calc(var(--s-5) + var(--s-3));
  border-radius: calc(var(--r-lg) * 2);
  border: 1px solid var(--stroke);
  color: var(--text-1);
  margin-bottom: var(--s-3);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(var(--s-8) * 4 + var(--s-5)), 1fr));
  gap: var(--s-5);
}

.testimonial {
  padding: var(--s-5);
}

.testimonial p {
  color: var(--text-1);
}

.logo-marquee {
  margin-top: var(--s-6);
  display: flex;
  gap: var(--s-6);
  align-items: center;
  overflow: hidden;
  padding: var(--s-4) var(--s-6);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background: var(--bg-1);
  position: relative;
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  pointer-events: none;
  z-index: 2;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-1), transparent);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-1), transparent);
}

.logo-track {
  display: flex;
  gap: var(--s-5);
  align-items: center;
  width: max-content;
  flex-shrink: 0;
  animation: logo-marquee 26s linear infinite;
}

.logo-chip {
  padding: var(--s-3) var(--s-5);
  border-radius: calc(var(--r-lg) * 2);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #131927;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 160px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.logo-chip img {
  height: 40px;
  width: auto;
  max-width: 180px;
  filter: none;
  opacity: 0.9;
  transition: filter 160ms ease, opacity 160ms ease;
}

.logo-chip.dark {
  background: var(--bg-0);
  border-color: rgba(255, 255, 255, 0.2);
}

.logo-chip.dark img {
  opacity: 1;
}

.logo-chip:hover {
  border-color: rgba(255, 0, 170, 0.5);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.logo-chip:hover img {
  opacity: 1;
}

@keyframes logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - var(--s-6))); }
}

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

.hero .badge,
.hero h1,
.hero .lead,
.hero .hero-cta,
.hero .stats,
.hero .hero-card {
  animation: rise 700ms ease both;
}

.hero h1 { animation-delay: 90ms; }
.hero .lead { animation-delay: 160ms; }
.hero .hero-cta { animation-delay: 220ms; }
.hero .stats { animation-delay: 280ms; }
.hero .hero-card { animation-delay: 200ms; }

.faq {
  display: grid;
  gap: var(--s-3);
}

.faq details {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: var(--s-4);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-0);
}

.faq p {
  margin: var(--s-3) 0 0;
  color: var(--text-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-6);
}

.form {
  display: grid;
  gap: var(--s-4);
}

.field {
  display: grid;
  gap: var(--s-2);
}

label {
  font-weight: 600;
  color: var(--text-1);
}

input, textarea, select {
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  border: 1px solid var(--stroke);
  background: var(--bg-2);
  color: var(--text-0);
  font: inherit;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: var(--glow-cyan);
}

textarea {
  min-height: calc(var(--s-8) + var(--s-7) + var(--s-6));
  resize: vertical;
}

main {
  margin-bottom: var(--s-8);
}

/* ── Footer ─────────────────────────────────────── */
.footer {
  position: relative;
  margin-top: auto;
  padding: var(--s-8) 0 var(--s-5) 0;
  background: var(--bg-1);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  translate: -50% 0;
  width: 600px;
  height: 240px;
  background: radial-gradient(ellipse at center, rgba(0,212,255,.08) 0%, rgba(255,0,170,.04) 50%, transparent 80%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-8);
  padding-bottom: var(--s-7);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.footer-logo {
  height: 48px;
  width: auto;
  border-radius: 10px;
}

.footer-tagline {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

.footer-col { display: flex; flex-direction: column; gap: var(--s-3); }

.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-0);
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.footer-links a {
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 400;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--el-cyan);
}

.footer-col-cta {
  gap: var(--s-3);
}

.footer-cta-text {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.footer-col-cta .btn {
  align-self: flex-start;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--stroke) 20%, var(--stroke) 80%, transparent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-5);
  gap: var(--s-4);
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--text-2);
  font-size: 0.82rem;
}

.btn-sm {
  padding: var(--s-2) var(--s-4);
  font-size: 0.95rem;
  line-height: 1;
}

/* Footer responsive */
@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

@media (max-width: 640px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .hero-split,
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-img-glow {
    transform: none !important;
    max-width: 260px;
    margin: 0 auto;
    padding: var(--s-4);
  }

  .hero-feature-img {
    max-width: 220px;
  }

 .panel {
    padding: 19px !important;
  }
  .card{
    padding: 19px !important ;
  }

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

  .menu-btn { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 11, 15, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--stroke);
    padding: var(--s-5) var(--s-4);
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-4);
  }

  .nav.open { display: flex; }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a {
    display: block;
    padding: var(--s-3) var(--s-2);
    border-radius: var(--r-sm);
    font-size: 1rem;
  }

  .nav-links a:hover {
    background: rgba(255,255,255,0.04);
  }

  .nav-links a::after { display: none; }
  .nav-links a.active::after { display: none; }

  .nav-links a.active {
    color: var(--el-cyan);
  }

  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  .nav-actions {
    flex-wrap: wrap;
    gap: var(--s-2);
  }

  .nav-actions .cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  /* .hero {
    padding: var(--s-8) 0 var(--s-6);
  } */

  .hero-card {
    padding: var(--s-5);
  }
}

@media (max-width: 480px) {
  .brand .logo-wordmark {
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track,
  .hero .badge,
  .hero h1,
  .hero .lead,
  .hero .hero-cta,
  .hero .stats,
  .hero .hero-card {
    animation: none;
  }
}


/* --- Elegant card system + simple icons --- */
.cards-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.cards-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 860px){
  .cards-2, .cards-3{ grid-template-columns: 1fr; }
}
.card{
  background: linear-gradient(180deg, #141a28 0%, #0b0f1a 100%);
  border: none;
  border-radius: 16px;
  padding: var(--s-6);
  box-shadow: 0 20px 45px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04);
}
.card-link{ text-decoration:none; color: inherit; }
.card-link:hover{ border-color: rgba(255,255,255,.18); transform: translateY(-2px); transition: transform 160ms ease, border-color 160ms ease; }
.panel{
  background: linear-gradient(180deg, #141a28 0%, #0b0f1a 100%);
  border: none;
  border-radius: 18px;
  padding: var(--s-7);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04);
}
.panel::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0.9;
}
/* Story-driven experience: text box left, video right */
.story-experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  align-items: start;
  margin-top: var(--s-5);
}
@media (max-width: 860px) {
  .story-experience-grid { grid-template-columns: 1fr; }
}
.story-experience-box { color: #fff; }
.story-experience-box .list { color: rgba(255,255,255,.9); }
.story-experience-video-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0f1a;
  box-shadow: 0 20px 45px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04);
}
.story-experience-video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.list{ margin: var(--s-4) 0 0; padding-left: 1.1rem; color: var(--text-1); }
.muted{ color: var(--text-1); opacity: .9; }
.card-icon{ margin-bottom: var(--s-3); width: 42px; height: 42px; display:flex; align-items:center; justify-content:center; }
.icon-dot{
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--grad-brand);
  box-shadow: 0 0 0 6px rgba(0,212,255,.08);
}
.icon-grad{
  width: 34px; height: 34px; border-radius: 12px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(var(--bg-0), var(--bg-0)) padding-box,
    var(--grad-brand) border-box;
  border: 1px solid transparent;
}
.price{ font-size: 1.35rem; margin-top: var(--s-3); }
.featured{
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.18) 0%, rgba(20, 26, 40, 0.95) 100%);
  box-shadow: 0 22px 52px rgba(0,0,0,.6), inset 0 0 0 1px rgba(0,212,255,.18);
}

/* Comparison table (tier cards) */
.comparison-table {
  margin-top: 2.5rem;
}
.comparison-table h3,
.comparison-table .comparison-title {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.1;
}
.table-wrap {
  overflow-x: auto;
}
.comparison-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0.75rem 0;
}
.comparison-table th,
.comparison-table td {
  padding: 0.9rem 0.85rem;
  text-align: left;
  vertical-align: top;
}
.comparison-table thead th {
  background: transparent;
  color: var(--text-0);
  font-weight: 600;
}
.comparison-table tbody th {
  color: var(--text-0);
  font-weight: 600;
}
.comparison-table thead th:nth-child(n+2),
.comparison-table tbody td:nth-child(n+2) {
  background: linear-gradient(180deg, #141a28 0%, #0b0f1a 100%);
  box-shadow: 0 18px 40px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04);
  border-left: none;
  border-right: none;
  background-clip: padding-box;
}
.comparison-table thead th:nth-child(n+2) {
  position: relative;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
}
.comparison-table thead th:nth-child(n+2)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0.9;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.comparison-table tbody td:nth-child(n+2) {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.comparison-table tbody tr:last-child td:nth-child(n+2) {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow: hidden;
}
.comparison-table tbody tr:hover td:nth-child(n+2) {
  background: linear-gradient(180deg, #182036 0%, #0c111c 100%);
}
.tick {
  color: #22c55e;
  font-weight: 700;
}
.cross {
  color: #ef4444;
  font-weight: 700;
}

/* Comparison table: mobile card layout (no horizontal scroll) */
@media (max-width: 900px) {
  .comparison-table .table-wrap {
    overflow-x: visible;
  }
  .comparison-table table {
    border-spacing: 0;
    display: block;
  }
  .comparison-table thead {
    display: block;
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bg-0, #0b0f1a);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .comparison-table thead tr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }
  .comparison-table thead th {
    display: block;
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    color: var(--text-1, #94a3b8);
    text-align: center;
    min-width: 0;
  }
  .comparison-table thead th:first-child {
    grid-column: 1 / -1;
    text-align: left;
    font-size: 1rem;
    color: var(--text-0);
    padding-bottom: 0.25rem;
  }
  .comparison-table thead th:nth-child(n+2) {
    position: relative;
    background: linear-gradient(180deg, #141a28 0%, #0b0f1a 100%);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 0.6rem 0.35rem;
    overflow: hidden;
  }
  .comparison-table thead th:nth-child(n+2)::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--grad-brand);
    opacity: 0.9;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  .comparison-table tbody tr {
    display: block;
    margin-bottom: 0.75rem;
    padding: 1rem;
    background: linear-gradient(180deg, #141a28 0%, #0b0f1a 100%);
    box-shadow: 0 8px 24px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.04);
    border-radius: 12px;
  }
  .comparison-table tbody th {
    display: block;
    padding: 0 0 0.6rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.95rem;
  }
  .comparison-table tbody td {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border: none;
    background: none;
    box-shadow: none;
    font-size: 0.9rem;
  }
  .comparison-table tbody td::before {
    content: "";
    flex-shrink: 0;
    font-weight: 600;
    color: var(--text-1, #94a3b8);
    min-width: 5.5rem;
    font-size: 0.8rem;
  }
  .comparison-table tbody td:nth-child(2)::before { content: "Free Demo"; }
  .comparison-table tbody td:nth-child(3)::before { content: "PRO"; }
  .comparison-table tbody td:nth-child(4)::before { content: "PRO +"; }
  .comparison-table tbody td:nth-child(5)::before { content: "Enterprise"; }
  .comparison-table tbody tr:hover td {
    background: transparent;
  }
  .comparison-table tbody tr:last-child td {
    border-radius: 0;
  }
  /* Action row: stack buttons on mobile */
  .comparison-table tbody tr:last-child td {
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.75rem;
  }
  .comparison-table tbody tr:last-child td .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Clients section */
.clients-section {
  padding-top: var(--s-8);
  padding-bottom: var(--s-8);
}

.clients-section .section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
