/*
Theme Name: Niv Web
Theme URI: https://nivweb.com
Author: Zahra Ghasemi
Author URI: https://nivweb.com
Description: a Responsive Slider Template.
Requires at least: 1.0
Tested up to: 1.0
Requires PHP: 7.2
Version: 1.0
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
@import "css/fonts.css";
:root {
  --ee: cubic-bezier(0.19, 1, 0.22, 1);
  --eq: cubic-bezier(0.77, 0, 0.175, 1);
  --es: cubic-bezier(0.34, 1.56, 0.64, 1);
  --bg: #0a0e1a;
  --bg-2: #0d1220;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.7);
  --ink-3: rgba(255, 255, 255, 0.5);
  --ink-4: rgba(255, 255, 255, 0.3);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.06);
  --glass-bg: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(40px);
  --indigo: #6366f1;
  --indigo-soft: #a5b4fc;
  --pink: #ec4899;
  --pink-soft: #f9a8d4;
  --cyan: #22d3ee;
  --green: #4ade80;
  --amber: #fbbf24;
  --grad-a: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #ec4899 100%);
  --grad-b: linear-gradient(135deg, #6366f1, #ec4899);
  --grad-c: linear-gradient(90deg, #6366f1, #a5b4fc);
  --font-sans: "Vazirmatn", sans-serif;
  --font-body: "Vazirmatn", sans-serif;
  --font-mono: "Vazirmatn", monospace;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  direction: rtl;
}

/* Ambient background */
.deck::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(99, 102, 241, 0.22) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(236, 72, 153, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(34, 211, 238, 0.08) 0%,
      transparent 60%
    );
  z-index: 0;
  animation: ambient 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes ambient {
  to {
    opacity: 0.7;
    transform: scale(1.05);
  }
}
.deck::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 25%,
    transparent 80%
  );
  z-index: 0;
  pointer-events: none;
}

.deck {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

/* === SLIDES: scrollable on mobile when content overflows === */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s var(--eq),
    visibility 0.9s;
  z-index: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.4s;
}
.slide.exiting {
  transition-delay: 0s;
}
/* Fill viewport on desktop, allow grow on mobile */
.slide-inner {
  min-height: 100%;
  padding: 90px 6vmin 80px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Persistent chrome */
.brand {
  position: fixed;
  top: 28px;
  right: 32px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand .logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--grad-b);
  position: relative;
  flex-shrink: 0;
}
.brand .logo::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--bg);
  border-radius: 4px;
}
.brand .slash {
  color: var(--indigo-soft);
}

.nav {
  position: fixed;
  top: 24px;
  left: 24px;
  display: flex;
  gap: 6px;
  align-items: center;
  z-index: 100;
  font-family: var(--font-mono);
}
.nav button {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--ink);
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: inherit;
  font-size: 13px;
  transition: all 0.25s;
}
.nav button:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}
.counter {
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 0 14px;
  color: var(--ink);
  min-width: 62px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.section-tag {
  position: fixed;
  bottom: 28px;
  left: 32px;
  z-index: 100;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}
.section-tag .pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--indigo-soft);
  box-shadow: 0 0 10px var(--indigo);
  animation: pip 2s infinite;
}
@keyframes pip {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ====== POPUP MENU ====== */
.menu-btn .icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}
.menu-btn .icon i {
  display: block;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: all 0.3s var(--ee);
}
.menu-btn.open .icon i:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}
.menu-btn.open .icon i:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-btn.open .icon i:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s var(--ee),
    visibility 0.35s;
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.menu-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: min(560px, 92vw);
  max-height: 84vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: linear-gradient(
    180deg,
    rgba(20, 24, 42, 0.95) 0%,
    rgba(13, 18, 32, 0.95) 100%
  );
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  z-index: 201;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s var(--ee),
    visibility 0.4s,
    transform 0.5s var(--es);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(99, 102, 241, 0.15);
  scrollbar-width: thin;
  scrollbar-color: rgba(165, 180, 252, 0.4) transparent;
}
/* Custom scrollbar — WebKit / Blink */
.menu-panel::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.menu-panel::-webkit-scrollbar-track {
  background: transparent;
  margin: 18px 0;
  border-radius: 100px;
}
.menu-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(165, 180, 252, 0.4),
    rgba(236, 72, 153, 0.35)
  );
  border-radius: 100px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background 0.25s;
}
.menu-panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(165, 180, 252, 0.7),
    rgba(236, 72, 153, 0.6)
  );
  background-clip: padding-box;
  border: 2px solid transparent;
}
.menu-panel::-webkit-scrollbar-corner {
  background: transparent;
}
/* Slide-level scrollbar (mobile / short screens) */
.slide {
  scrollbar-width: thin;
  scrollbar-color: rgba(165, 180, 252, 0.25) transparent;
}
.slide::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.slide::-webkit-scrollbar-track {
  background: transparent;
}
.slide::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(165, 180, 252, 0.3),
    rgba(236, 72, 153, 0.25)
  );
  border-radius: 100px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.slide::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(165, 180, 252, 0.55),
    rgba(236, 72, 153, 0.5)
  );
  background-clip: padding-box;
  border: 2px solid transparent;
}
/* Comparison-table horizontal scrollbar */
.cmp-table-wrap {
  scrollbar-width: thin;
  scrollbar-color: rgba(165, 180, 252, 0.3) transparent;
}
.cmp-table-wrap::-webkit-scrollbar {
  height: 8px;
}
.cmp-table-wrap::-webkit-scrollbar-track {
  background: transparent;
}
.cmp-table-wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(
    90deg,
    rgba(165, 180, 252, 0.4),
    rgba(236, 72, 153, 0.3)
  );
  border-radius: 100px;
}
.cmp-table-wrap::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    90deg,
    rgba(165, 180, 252, 0.65),
    rgba(236, 72, 153, 0.5)
  );
}
.menu-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.menu-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-header h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.menu-header .menu-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.menu-list {
  padding: 12px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s var(--ee);
  border: 1px solid transparent;
}
.menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}
.menu-item.current {
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.18),
    rgba(236, 72, 153, 0.08)
  );
  border-color: rgba(99, 102, 241, 0.3);
}
.menu-item .mi-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.15em;
  width: 28px;
  flex-shrink: 0;
}
.menu-item.current .mi-num {
  color: var(--indigo-soft);
}
.menu-item .mi-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  flex: 1;
}
.menu-item .mi-sub {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}
.menu-item .mi-arr {
  color: var(--ink-4);
  font-size: 14px;
  transition: all 0.25s;
}
.menu-item:hover .mi-arr {
  color: var(--ink);
  transform: translateX(3px);
}
.menu-item.current .mi-arr {
  color: var(--indigo-soft);
}
.menu-footer {
  padding: 14px 28px 22px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.menu-footer kbd {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--ink-2);
  margin: 0 4px;
}

/* ====== SHARED UTILITIES ====== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s var(--ee),
    transform 1s var(--ee);
}
.slide.active .reveal {
  opacity: 1;
  transform: translateY(0);
}
.slide.active .reveal:nth-of-type(1) {
  transition-delay: 0.5s;
}
.slide.active .reveal:nth-of-type(2) {
  transition-delay: 0.65s;
}
.slide.active .reveal:nth-of-type(3) {
  transition-delay: 0.8s;
}
.slide.active .reveal:nth-of-type(4) {
  transition-delay: 0.95s;
}
.slide.active .reveal:nth-of-type(5) {
  transition-delay: 1.1s;
}
.slide.active .reveal:nth-of-type(6) {
  transition-delay: 1.25s;
}
.slide.active .reveal:nth-of-type(7) {
  transition-delay: 1.4s;
}
.slide.active .reveal:nth-of-type(8) {
  transition-delay: 1.55s;
}

.mw {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.mw > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s var(--ee);
}
.slide.active .mw > span {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 7px 16px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--indigo-soft);
  width: fit-content;
  letter-spacing: 0.02em;
}
.eyebrow .dt {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 10px var(--indigo);
  animation: pip 2s infinite;
}

.h-display {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.035em;
}
.h-display .grd {
  background: var(--grad-a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.body-lg {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 400;
}
.body-md {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
.body-sm {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
}

.btn-primary {
  background: #fff;
  color: var(--bg);
  padding: 13px 24px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--indigo-soft), #fff);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(165, 180, 252, 0.25);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--ink);
  padding: 13px 24px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid var(--glass-border);
  text-decoration: none;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

/* ====== SLIDE 1 — COVER ====== */
.s-cover {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 6vmin 80px;
}
.s-cover-inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  margin: auto 0;
}
.s-cover-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 90%; /*140%*/
  background: radial-gradient(
    ellipse,
    rgba(99, 102, 241, 0.25),
    transparent 60%
  );
  filter: blur(60px);
  z-index: -1;
  animation: coverPulse 6s ease-in-out infinite alternate;
}
@keyframes coverPulse {
  to {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.1);
  }
}
.s-cover h1 {
  font-size: clamp(54px, 3vw, 140px);
}
.s-cover h1 .line {
  display: block;
  overflow: hidden;
}
.s-cover h1 .line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.4s var(--ee);
}
.slide.active .s-cover h1 .line > span {
  transform: translateY(0);
}
.slide.active .s-cover h1 .line:nth-child(1) > span {
  transition-delay: 0.5s;
}
.slide.active .s-cover h1 .line:nth-child(2) > span {
  transition-delay: 0.7s;
}
.s-cover-meta {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.s-cover-meta .sep {
  width: 24px;
  height: 1px;
  background: var(--ink-4);
}
.s-cover-cta {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.s-cover-version {
  /*position: absolute;*/
  /*bottom: -32px;*/
  /*left: 50%;*/
  /*transform: translateX(-50%);*/
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.3em;
  /*text-transform: uppercase;*/
  /*white-space: nowrap;*/
}

.s-cover-grid-t-col {
  grid-template-columns: 1fr 40% !important;
}
/* ====== SLIDE 2 — About Us ====== */
.s-aboutus {
  justify-content: center;
}
.s-aboutus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vmin;
  align-items: center;
  flex: 1;
}
.s-aboutus-left {
  padding-left: 2vmin;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.s-aboutus h2 {
  font-size: clamp(40px, 4vw, 80px);
}
.s-aboutus h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--pink-soft), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.s-aboutus-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 10%;
}
.problem-card {
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.4s var(--ee);
}
.problem-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(6px);
}
.problem-card .pc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--indigo-soft);
  letter-spacing: 0.15em;
  flex-shrink: 0;
  margin-top: 5px;
  width: 24px;
}
.problem-card .pc-body h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.problem-card .pc-body p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-3);
}
.problem-card .pc-icon {
  font-size: 22px;
  color: var(--ink-4);
  margin-right: auto;
  align-self: center;
}

/* ====== SLIDE 3 — PRODUCT ====== */
.s-product {
  justify-content: center;
}
.s-product-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5vmin;
  align-items: center;
  flex: 1;
}
.s-product-left {
  padding-left: 2vmin;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.s-product h2 {
  font-size: clamp(38px, 5vw, 72px);
}
.s-product .product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--cyan);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 12px;
  width: fit-content;
}
.s-product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.s-product-features .pf {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.s-product-features .pf .pf-ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.18);
  color: var(--indigo-soft);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.s-product-features .pf span {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}
.s-product-cta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.s-product-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.mock-ui {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1.15/1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: perspective(1400px) rotateY(-8deg) rotateX(2deg);
  transition: transform 1s var(--ee);
}
.slide.active .mock-ui {
  transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
}
.mock-ui::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent 70%);
  filter: blur(50px);
  z-index: -1;
}
.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.mock-head .mh-l {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-2);
}
.mock-head .mh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.mock-head .mh-r {
  display: flex;
  gap: 6px;
}
.mock-head .mh-r i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-4);
  display: inline-block;
}
.mock-stat {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 4px 0;
}
.mock-stat .ms-l span {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.mock-stat .ms-l strong {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.mock-stat .ms-delta {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--green);
  background: rgba(74, 222, 128, 0.12);
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 600;
}
.mock-chart {
  flex: 1;
  position: relative;
  min-height: 0;
}
.mock-chart svg {
  width: 100%;
  height: 100%;
}
.mock-chart .area-path {
  fill: url(#mockGrad);
  opacity: 0;
  transition: opacity 1s var(--ee) 1.5s;
}
.slide.active .mock-chart .area-path {
  opacity: 1;
}
.mock-chart .line-path {
  fill: none;
  stroke: var(--indigo-soft);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 2s var(--ee) 1.3s;
}
.slide.active .mock-chart .line-path {
  stroke-dashoffset: 0;
}
.mock-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
}
.mock-tile {
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}
.mock-tile span {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--ink-3);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mock-tile strong {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
}

/* ====== SLIDE 4 — FEATURES ====== */
.s-features {
  gap: 5vmin;
  justify-content: center;
}
.s-features-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.s-features-head .sf-l {
  flex: 1;
  min-width: 300px;
}
.s-features-head h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  margin-top: 18px;
}
.s-features-head .sf-r {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-2);
  max-width: 340px;
  line-height: 1.55;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: all 0.4s var(--ee);
}
.feature:hover {
  border-color: rgba(165, 180, 252, 0.4);
  transform: translateY(-4px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
}
.feature .f-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--indigo-soft);
  letter-spacing: 0.15em;
}
.feature .f-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--indigo-soft);
}
.feature:nth-child(2) .f-ic {
  background: rgba(236, 72, 153, 0.15);
  color: var(--pink-soft);
}
.feature:nth-child(3) .f-ic {
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
}
.feature:nth-child(4) .f-ic {
  background: rgba(74, 222, 128, 0.15);
  color: var(--green);
}
.feature h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.feature p {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-3);
  flex: 1;
  text-align: justify;
}
.feature .f-link {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--indigo-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  cursor: pointer;
  font-weight: 500;
}
.feature .f-link span {
  transition: transform 0.3s;
}
.feature:hover .f-link span {
  transform: translateX(4px);
}

/* ====== SLIDE 5 — ROADMAP (NEW) ====== */
.s-roadmap {
  gap: 5vmin;
  justify-content: center;
}
.s-roadmap-head {
  max-width: 780px;
}
.s-roadmap-head h2 {
  font-size: clamp(36px, 4.8vw, 64px);
  margin-top: 18px;
}
.s-roadmap-head p {
  margin-top: 18px;
  max-width: 580px;
}
.timeline {
  position: relative;
  padding: 0 0 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--indigo) 15%,
    var(--pink) 50%,
    var(--cyan) 85%,
    transparent
  );
  opacity: 0.5;
}
.tl-item {
  position: relative;
  padding: 60px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tl-item::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--indigo);
  z-index: 2;
}
.tl-item:nth-child(2)::before {
  border-color: var(--pink);
}
.tl-item:nth-child(3)::before {
  border-color: var(--cyan);
}
.tl-item:nth-child(4)::before {
  border-color: var(--green);
}
.tl-item.now::before {
  background: var(--indigo);
  box-shadow:
    0 0 0 6px rgba(99, 102, 241, 0.2),
    0 0 20px var(--indigo);
  animation: pip 2s infinite;
}
.tl-quarter {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--indigo-soft);
  text-align: center;
}
.tl-item:nth-child(2) .tl-quarter {
  color: var(--pink-soft);
}
.tl-item:nth-child(3) .tl-quarter {
  color: var(--cyan);
}
.tl-item:nth-child(4) .tl-quarter {
  color: var(--green);
}
.tl-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--ink-3);
  justify-content: center;
  margin-top: -4px;
}
.tl-status .s-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.tl-item:nth-child(1) .tl-status .s-dot { background: var(--indigo);}
.tl-item:nth-child(2) .tl-status .s-dot { background: var(--pink);}
.tl-item:nth-child(3) .tl-status .s-dot { background: var(--cyan);}

.tl-card {
  padding: 18px 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.35s var(--ee);
}
.tl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}
.tl-card h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.tl-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tl-card li {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-2);
  padding-right: 16px;
  position: relative;
}
.tl-card li::before {
  content: "\2014";
  position: absolute;
  right: 0;
  color: var(--indigo-soft);
  font-weight: 300;
}

/* ====== SLIDE 6 — METRICS ====== */
.s-metrics {
  justify-content: center;
  gap: 5vmin;
}
.s-metrics-head {
  max-width: 780px;
}
.s-metrics-head h2 {
  font-size: clamp(40px, 5.4vw, 76px);
  margin-top: 18px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.metric {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}
.metric::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -30%;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.25),
    transparent 70%
  );
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.8s;
}
.metric:hover::before {
  opacity: 1;
}
.metric-num {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 60px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.metric-num.grd {
  background: var(--grad-a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric-num .unit {
  font-size: 0.5em;
  color: var(--ink-3);
  font-weight: 400;
  margin-left: 2px;
}
.metric-lbl {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
  margin-top: 14px;
}
.metric-spark {
  margin-top: 10px;
  height: 24px;
}
.metric-spark svg {
  width: 100%;
  height: 100%;
}
.metric-spark path {
  fill: none;
  stroke: var(--indigo-soft);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.6s var(--ee) 1.2s;
}
.slide.active .metric-spark path {
  stroke-dashoffset: 0;
}
.s-metrics-quote {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  flex-wrap: wrap;
}
.s-metrics-quote .q-mark {
  font-family: var(--font-sans);
  font-size: 60px;
  line-height: 0.6;
  color: var(--indigo-soft);
  font-weight: 300;
}
.s-metrics-quote blockquote {
  flex: 1;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  min-width: 240px;
}
.s-metrics-quote .q-attr {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-3);
  min-width: 160px;
}
.s-metrics-quote .q-attr strong {
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
}

/* ====== SLIDE 7 — COMPARISON TABLE (NEW) ====== */
.s-compare {
  gap: 4vmin;
  justify-content: center;
}
.s-compare-head {
  max-width: 820px;
}
.s-compare-head h2 {
  font-size: clamp(36px, 4.8vw, 64px);
  margin-top: 18px;
}
.s-compare-head p {
  margin-top: 16px;
  max-width: 600px;
}
.cmp-table-wrap {
  padding: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-body);
  min-width: 680px;
}
.cmp-table thead th {
  padding: 18px 20px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  position: relative;
  white-space: nowrap;
}
.cmp-table thead th:first-child {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}
.cmp-table thead th.featured {
  color: var(--ink);
  background: linear-gradient(
    180deg,
    rgba(99, 102, 241, 0.18),
    rgba(99, 102, 241, 0.04)
  );
  border-radius: 14px 14px 0 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.4);
  position: relative;
}
.cmp-table thead th.featured .vendor-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cmp-table thead th.featured .vendor-name .v-logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--grad-b);
  position: relative;
  flex-shrink: 0;
}
.cmp-table thead th.featured .vendor-name .v-logo::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--bg);
  border-radius: 2px;
}
.cmp-table tbody td {
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
  transition: background 0.25s;
}
.cmp-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.cmp-table tbody tr:last-child td {
  border-bottom: none;
}
.cmp-table tbody td:first-child {
  color: var(--ink);
  font-weight: 500;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: -0.005em;
}
.cmp-table tbody td.featured {
  background: rgba(99, 102, 241, 0.05);
  text-align: center;
  border-left: 1px solid rgba(99, 102, 241, 0.15);
  border-right: 1px solid rgba(99, 102, 241, 0.15);
}
.cmp-table tbody tr:last-child td.featured {
  border-radius: 0 0 14px 14px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.4);
}
/* Recommended badge — sits in the bottom-right of the Lustro/Pulse header cell */
.cmp-table thead th.featured .recommended-badge {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: var(--grad-b);
  color: #fff;
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  white-space: nowrap;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  z-index: 2;
}
.cmp-table thead th.featured .recommended-badge::before {
  content: "\2605";
  margin-right: 6px;
  font-size: 10px;
  vertical-align: -1px;
}
.cmp-table thead th.featured {
  padding-bottom: 42px;
}
.cmp-table .check {
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
}
.cmp-table .cross {
  color: var(--ink-4);
  font-size: 14px;
}
.cmp-table .partial {
  color: var(--amber);
  font-size: 13px;
}
.cmp-table td.center {
  text-align: center;
}
.cmp-footnote {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
  padding: 12px 6px 0;
}

/* ====== SLIDE 8 — MORE FROM TEMPLATEMO (NEW) ====== */
.s-more {
  gap: 5vmin;
  justify-content: center;
}
.s-more-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.s-more-head .sm-l {
  flex: 1;
  min-width: 300px;
}
.s-more-head h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  margin-top: 18px;
}
.s-more-head .sm-r {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-2);
  max-width: 340px;
  line-height: 1.55;
}
.s-more-head .sm-r a {
  color: var(--indigo-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(165, 180, 252, 0.4);
  transition: border-color 0.25s;
}
.s-more-head .sm-r a:hover {
  border-color: var(--indigo-soft);
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.more-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    transform 0.4s var(--ee),
    border-color 0.4s var(--ee),
    box-shadow 0.4s var(--ee);
  opacity: 0;
}
.more-card:hover {
  transform: translateY(-6px);
  border-color: rgba(165, 180, 252, 0.4);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(99, 102, 241, 0.12);
}
/* Entry animation — keyframes don't conflict with hover transitions */
@keyframes moreCardIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.slide.active .more-card {
  animation: moreCardIn 1s var(--ee) forwards;
}
.slide.active .more-card:nth-child(1) {
  animation-delay: 0.6s;
}
.slide.active .more-card:nth-child(2) {
  animation-delay: 0.75s;
}
.slide.active .more-card:nth-child(3) {
  animation-delay: 0.9s;
}
.slide.active .more-card:nth-child(4) {
  animation-delay: 1.05s;
}
.more-card .mc-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(236, 72, 153, 0.08)
  );
  border-bottom: 1px solid var(--line-2);
}
.more-card .mc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s var(--ee);
  display: block;
}
.more-card:hover .mc-thumb img {
  transform: scale(1.06);
  transform-origin: top center;
}
.more-card .mc-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 14, 26, 0.5));
  pointer-events: none;
  opacity: 0.6;
}
.more-card .mc-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.more-card .mc-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--indigo-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.more-card .mc-tag .pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 8px var(--indigo);
}
.more-card .mc-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.more-card .mc-desc {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-3);
  flex: 1;
}
.more-card .mc-cta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--indigo-soft);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.more-card .mc-cta span {
  transition: transform 0.3s;
}
.more-card:hover .mc-cta span {
  transform: translateX(4px);
}

/* ====== TEMPLATEMO CREDIT (bottom-right, mirrors section-tag) ====== */
.tm-credit {
  position: fixed;
  bottom: 28px;
  right: 32px;
  z-index: 100;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  display: flex;
  gap: 8px;
  align-items: center;
  transition: color 0.25s;
}
.tm-credit:hover {
  color: var(--ink);
}
.tm-credit .tm-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink-soft);
  box-shadow: 0 0 10px var(--pink);
  animation: pip 2s infinite;
}
.tm-credit .tm-label {
  opacity: 0.7;
}
.tm-credit:hover .tm-label {
  opacity: 1;
}

/* In-flow footer — only renders on mobile, sits at bottom of each slide content */
.slide-footer {
  display: none;
}
@media (max-width: 640px) {
  /* Hide fixed chrome that would be sticky */
  .section-tag,
  .tm-credit {
    display: none;
  }
  /* Show in-flow footer at bottom of slide content */
  .slide-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 24px 0 0;
    margin-top: auto;
    border-top: 1px solid var(--line-2);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-3);
    flex-wrap: wrap;
  }
  .slide-footer .sf-section {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .slide-footer .sf-section .pip {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--indigo-soft);
    box-shadow: 0 0 10px var(--indigo);
    animation: pip 2s infinite;
  }
  .slide-footer .sf-credit {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ink-3);
    text-decoration: none;
  }
  .slide-footer .sf-credit .pip {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pink-soft);
    box-shadow: 0 0 10px var(--pink);
  }
}

/* ====== SLIDE 9 — CTA ====== */
.s-cta {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 6vmin 80px;
}
.s-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 120%;
  background: radial-gradient(
    ellipse,
    rgba(236, 72, 153, 0.18),
    transparent 60%
  );
  filter: blur(60px);
  z-index: -1;
  animation: coverPulse 6s ease-in-out infinite alternate;
}
.s-cta-inner {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  margin: auto 0;
}
.s-cta h2 {
  font-size: clamp(46px, 7vw, 110px);
}
.s-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}
.s-cta-launch-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 720px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.launch-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.launch-item .li-l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.launch-item .li-v {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
}
.launch-item .li-v .accent {
  color: var(--indigo-soft);
}
.launch-item .li-v a {
  text-decoration: none;
  color: inherit;
}
.pagination{
  text-align: center;
}
.pagination span.current{
  background: var(--indigo-soft);
  color: #000;
  padding: 8px 16px;
  border-radius: 5px;
  margin: 0 3px;
  font-weight: 700;
}
.pagination a{
  background: #0a0e1a;
  color: var(--indigo-soft);
  padding: 8px 16px;
  border-radius: 5px;
  margin: 0 3px;
  font-weight: 400;
  text-decoration: none;
}

/* ====== RESPONSIVE: tablet & mobile ====== */
@media (max-width: 1024px) {
  .s-aboutus-grid,
  .s-product-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-grid,
  .metric-grid,
  .more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::before {
    display: none;
  }
  .s-cta-launch-info {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .launch-item {
    align-items: center;
    text-align: center;
  }
  .tm-credit {
    right: 18px;
    bottom: 18px;
  }
}
@media (max-width: 640px) {
  html,
  body {
    overflow: hidden;
  }
  .slide-inner,
  .s-cover,
  .s-cta {
    padding: 72px 18px 24px;
  }
  .s-cover-inner {
    gap: 24px;
  }
  .s-cover-version {
    position: static;
    transform: none;
    margin-top: 24px;
    display: block;
  }
  .brand {
    top: 18px;
    right: 18px;
    font-size: 14px;
  }
  .brand .logo {
    width: 24px;
    height: 24px;
  }
  .nav {
    top: 16px;
    left: 16px;
    gap: 5px;
  }
  .nav button {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .counter {
    padding: 0 10px;
    font-size: 10px;
    height: 32px;
    min-width: 54px;
  }
  .feature-grid,
  .metric-grid,
  .more-grid {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: 1fr;
    padding-top: 10px;
  }
  .tl-item {
    padding: 24px 16px 16px;
  }
  .tl-item::before {
    top: 18px;
    left: 0;
    transform: none;
  }
  .s-features-head,
  .s-metrics-head,
  .s-roadmap-head,
  .s-compare-head {
    margin-top: 40px;
  }
  .s-cover h1 {
    font-size: 44px;
  }
  .s-cta h2 {
    font-size: 42px;
  }
  .menu-panel {
    width: 94vw;
    max-height: 88vh;
  }
  .menu-header {
    padding: 18px 20px 14px;
  }
  .menu-list {
    padding: 10px;
  }
  .menu-item {
    padding: 12px 14px;
    gap: 14px;
  }
  .menu-item .mi-num {
    width: 24px;
    font-size: 10px;
  }
  .menu-item .mi-label {
    font-size: 14px;
  }
  .menu-item .mi-sub {
    font-size: 11px;
  }
  .menu-footer {
    padding: 12px 20px 16px;
    font-size: 9px;
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  .slide-inner,
  .s-cover,
  .s-cta {
    padding: 60px 28px 40px;
  }
  .nav {
    top: 12px;
    left: 12px;
  }
  .brand {
    top: 12px;
    right: 14px;
  }
  .section-tag {
    bottom: 12px;
    left: 14px;
  }
  .tm-credit {
    bottom: 12px;
    right: 14px;
  }
}

