/* ============================================
   Tracker365 Presentation Page
   Premium SaaS product walkthrough
   ============================================ */

:root {
  --pres-primary: #2563eb;
  --pres-primary-dark: #1d4ed8;
  --pres-accent: #0ea5e9;
  --pres-text: #0f172a;
  --pres-text-muted: #475569;
  --pres-bg: #f8faff;
  --pres-glass: rgba(255, 255, 255, 0.72);
  --pres-border: rgba(37, 99, 235, 0.12);
  --pres-shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
  --pres-shadow-lg: 0 20px 60px rgba(37, 99, 235, 0.14);
  --pres-radius: 20px;
  --pres-radius-sm: 12px;
  --pres-max: 1280px;
  --pres-section-pad: clamp(4rem, 8vw, 7rem);
  --pres-font: 'Plus Jakarta Sans', 'Rubik', sans-serif;
  --pres-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 45%, #0ea5e9 100%);
  --pres-gradient-soft: linear-gradient(180deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
  --pres-nav-height: var(--navbar-total-height, 90px);
}

/* Override body for presentation page */
body.pres-page {
  font-family: var(--pres-font);
  background: var(--pres-gradient-soft);
  color: var(--pres-text);
  overflow-x: hidden;
  padding-top: var(--pres-nav-height);
}

body.pres-page section[id] {
  scroll-margin-top: calc(var(--pres-nav-height) + 1rem);
}

/* Skip link */
.pres-skip {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--pres-primary);
  color: #fff;
  border-radius: var(--pres-radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}

.pres-skip:focus {
  top: 1rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Mobile nav toggle */
.pres-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}

.pres-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #004aad;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.pres-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.pres-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.pres-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

  body.pres-page .bottom-navbar .navbar-links {
    position: fixed;
    top: var(--pres-nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 30px rgba(0, 74, 173, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    max-height: calc(100vh - var(--pres-nav-height));
    overflow-y: auto;
  }

  body.pres-page .bottom-navbar .navbar-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  body.pres-page .nav-dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    margin-top: 0;
    padding-left: 1rem;
  }
}

/* Shared section */
.pres-section {
  padding: var(--pres-section-pad) clamp(1.25rem, 4vw, 2rem);
  position: relative;
}

.pres-container {
  max-width: var(--pres-max);
  margin: 0 auto;
}

.pres-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pres-primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.pres-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--pres-text);
  margin-bottom: 1rem;
}

.pres-subheading {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--pres-text-muted);
  line-height: 1.7;
  max-width: 640px;
}

.pres-subheading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pres-section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.pres-section-header .pres-subheading {
  margin: 0 auto;
}

/* Buttons */
.pres-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--pres-font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--pres-radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pres-btn:focus-visible {
  outline: 2px solid var(--pres-primary);
  outline-offset: 3px;
}

.pres-btn--primary {
  background: var(--pres-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.pres-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45);
}

.pres-btn--secondary {
  background: var(--pres-glass);
  color: var(--pres-primary);
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  backdrop-filter: blur(12px);
}

.pres-btn--secondary:hover {
  background: rgba(37, 99, 235, 0.06);
  transform: translateY(-2px);
}

.pres-btn--ghost {
  background: transparent;
  color: var(--pres-text-muted);
  border: 1.5px solid var(--pres-border);
}

.pres-btn--ghost:hover {
  color: var(--pres-primary);
  border-color: rgba(37, 99, 235, 0.3);
}

/* ===== HERO ===== */
.pres-hero {
  min-height: calc(100vh - var(--pres-nav-height));
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2rem) 4rem;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
}

.pres-hero__bg {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.pres-hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.pres-hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(37, 99, 235, 0.35);
  border-radius: 50%;
  animation: pres-float-particle 8s ease-in-out infinite;
}

@keyframes pres-float-particle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-20px) scale(1.2); opacity: 0.8; }
}

.pres-hero__inner {
  max-width: var(--pres-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.pres-hero__content {
  max-width: 560px;
}

.pres-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--pres-text);
}

.pres-hero__title span {
  background: var(--pres-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pres-hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--pres-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  min-height: 1.7em;
}

.pres-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.pres-hero__visual {
  position: relative;
  perspective: 1200px;
}

.pres-hero__dashboard {
  border-radius: var(--pres-radius);
  overflow: hidden;
  box-shadow: var(--pres-shadow-lg);
  border: 1px solid var(--pres-border);
  background: #fff;
  transform-style: preserve-3d;
  will-change: transform;
  aspect-ratio: 16 / 9;
}

.pres-hero__dashboard img,
.pres-hero__dashboard video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  background: #000;
}

/* Hide native video controls / chrome */
.pres-hero__video::-webkit-media-controls {
  display: none !important;
}

.pres-hero__video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* ===== TRUSTED ===== */
.pres-trusted {
  padding: 2.5rem 0;
  border-block: 1px solid var(--pres-border);
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.pres-trusted__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pres-text-muted);
  margin-bottom: 1.5rem;
}

.pres-marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.pres-marquee__track {
  display: flex;
  gap: 3rem;
  animation: pres-marquee 35s linear infinite;
  flex-shrink: 0;
  padding-right: 3rem;
}

@keyframes pres-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.pres-marquee__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.pres-marquee__item:hover {
  opacity: 1;
  color: var(--pres-primary);
}

.pres-marquee__item i {
  font-size: 1.25rem;
  color: var(--pres-primary);
}

/* ===== PROBLEM ===== */
.pres-problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pres-problem-card {
  background: var(--pres-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--pres-border);
  border-radius: var(--pres-radius);
  padding: 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pres-problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pres-shadow-lg);
}

.pres-problem-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.pres-problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--pres-text);
}

.pres-problem-card p {
  font-size: 0.925rem;
  color: var(--pres-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ===== SOLUTION TIMELINE ===== */
.pres-solution {
  background: rgba(255, 255, 255, 0.45);
}

.pres-lifecycle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0;
  margin-top: 3rem;
}

.pres-lifecycle__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 auto;
  opacity: 0;
  transform: translateY(20px);
}

.pres-lifecycle__step.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.pres-lifecycle__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--pres-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.pres-lifecycle__step:hover .pres-lifecycle__icon {
  transform: scale(1.08);
}

.pres-lifecycle__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--pres-text);
}

.pres-lifecycle__arrow {
  color: var(--pres-primary);
  font-size: 1.25rem;
  opacity: 0.5;
  padding: 0 0.5rem;
  flex-shrink: 0;
}

/* ===== BROWSER FRAME (shared) ===== */
.pres-browser {
  border-radius: var(--pres-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--pres-shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.pres-browser__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.pres-browser__dots {
  display: flex;
  gap: 6px;
}

.pres-browser__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pres-browser__dots span:nth-child(1) { background: #ef4444; }
.pres-browser__dots span:nth-child(2) { background: #f59e0b; }
.pres-browser__dots span:nth-child(3) { background: #22c55e; }

.pres-browser__url {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  color: #64748b;
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pres-browser__viewport {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  aspect-ratio: 16 / 9;
}

.pres-browser__viewport img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.pres-browser__viewport img.active {
  opacity: 1;
  z-index: 1;
}

/* ===== WALKTHROUGH ===== */
.pres-walkthrough__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}

.pres-walkthrough__browser-col {
  min-width: 0;
}

.pres-walkthrough__screenshot {
  border-radius: var(--pres-radius);
  overflow: hidden;
  box-shadow: var(--pres-shadow-lg);
  border: 1px solid var(--pres-border);
  background: #fff;
}

.pres-walkthrough__browser-viewport {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f8fafc;
}

.pres-walkthrough__browser-viewport .pres-walkthrough__browser-slide img {
  position: relative;
  opacity: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: top left;
}

.pres-walkthrough__browser-track {
  display: flex;
  will-change: transform;
}

.pres-walkthrough__browser-track.pres-walkthrough__panels-track--css,
.pres-walkthrough__panels-track.pres-walkthrough__panels-track--css {
  transition: transform 0.55s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.pres-walkthrough__browser-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.pres-walkthrough__browser-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.pres-walkthrough__nav {
  display: grid;
  grid-template-columns: repeat(10, auto);
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  overflow: visible;
}

@media (max-width: 1024px) {
  .pres-walkthrough__nav {
    grid-template-columns: repeat(7, auto);
  }
}

@media (max-width: 767px) {
  .pres-walkthrough__nav {
    grid-template-columns: repeat(4, auto);
    justify-content: stretch;
  }

  .pres-walkthrough__nav-btn {
    width: 100%;
    text-align: center;
  }
}

.pres-walkthrough__nav-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--pres-border);
  background: transparent;
  color: var(--pres-text-muted);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  font-family: var(--pres-font);
}

.pres-walkthrough__nav-btn.active,
.pres-walkthrough__nav-btn:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--pres-primary);
  border-color: rgba(37, 99, 235, 0.25);
}

.pres-walkthrough__nav-btn.active {
  transform: scale(1.04);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.15);
}

.pres-walkthrough__nav-btn:focus-visible {
  outline: 2px solid var(--pres-primary);
  outline-offset: 2px;
}

/* Slide viewport */
.pres-walkthrough__panels-viewport {
  overflow: hidden;
  min-width: 0;
  position: relative;
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.pres-walkthrough__panels-track {
  display: flex;
  will-change: transform;
}

.pres-walkthrough__panel {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0 0;
  box-sizing: border-box;
}

.pres-walkthrough__panel h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.pres-walkthrough__panel p {
  color: var(--pres-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.pres-walkthrough__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pres-walkthrough__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--pres-text);
}

.pres-walkthrough__features li i {
  color: #22c55e;
  margin-top: 3px;
  flex-shrink: 0;
}

.pres-walkthrough__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pres-primary);
  text-decoration: none;
}

.pres-walkthrough__link:hover {
  text-decoration: underline;
}

.pres-walkthrough__panel-preview {
  display: none;
}

/* ===== DASHBOARD SHOWCASE (sidebar + preview) ===== */
.pres-dashboard-showcase {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, transparent 100%);
}

.pres-dash-app {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: var(--pres-max);
  margin: 0 auto;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  min-height: auto;
}

/* Tracker365-style dark sidebar — standalone, outside preview image */
.pres-dash-sidebar {
  flex: 0 0 220px;
  background: linear-gradient(180deg, #1e2a3a 0%, #151f2e 100%);
  display: flex;
  flex-direction: column;
  border-radius: var(--pres-radius);
  overflow: hidden;
  box-shadow: var(--pres-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-height: 680px;
  position: sticky;
  top: 1rem;
}

.pres-dash-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.1rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pres-dash-sidebar__brand img {
  border-radius: 6px;
  object-fit: contain;
}

.pres-dash-sidebar__nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.65rem 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pres-dash-sidebar__nav::-webkit-scrollbar {
  width: 4px;
}

.pres-dash-sidebar__nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.pres-dash-sidebar__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--pres-font);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.pres-dash-sidebar__item i {
  width: 18px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.85;
  flex-shrink: 0;
}

.pres-dash-sidebar__item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.pres-dash-sidebar__item.active {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.55) 0%, rgba(37, 99, 235, 0.25) 100%);
  color: #fff;
  box-shadow: inset 3px 0 0 #3b82f6;
}

.pres-dash-sidebar__item:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

/* Preview panel — separate card, full image visible */
.pres-dash-preview {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: var(--pres-radius);
  box-shadow: var(--pres-shadow-lg);
  border: 1px solid var(--pres-border);
  display: block;
  padding: 0.65rem;
}

.pres-dash-preview__frame {
  width: 100%;
  border-radius: calc(var(--pres-radius-sm) - 2px);
  overflow: hidden;
  background: #f8fafc;
  line-height: 0;
}

.pres-dash-preview__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: top center;
  transition: opacity 0.4s ease;
}

.pres-dash-preview__frame img.is-fading {
  opacity: 0;
}

@media (max-width: 1024px) {
  .pres-dash-app {
    flex-direction: column;
    gap: 0.75rem;
  }

  .pres-dash-sidebar {
    flex: none;
    width: 100%;
    max-height: none;
    position: static;
  }

  .pres-dash-sidebar__nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem;
    gap: 0.35rem;
  }

  .pres-dash-sidebar__item {
    flex: 0 0 auto;
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
  }

  .pres-dash-sidebar__item.active {
    box-shadow: inset 0 -3px 0 #3b82f6;
  }

  .pres-dash-preview {
    padding: 0.5rem 0.75rem 0.75rem;
  }
}

@media (max-width: 479px) {
  .pres-dash-sidebar__item span {
    display: none;
  }

  .pres-dash-sidebar__item {
    padding: 0.55rem 0.65rem;
  }
}

/* ===== FEATURE HIGHLIGHTS ===== */
.pres-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pres-feature-card {
  background: var(--pres-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--pres-border);
  border-radius: var(--pres-radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pres-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pres-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--pres-shadow-lg);
  border-color: rgba(37, 99, 235, 0.25);
}

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

.pres-feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--pres-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.pres-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.pres-feature-card p {
  font-size: 0.9rem;
  color: var(--pres-text-muted);
  line-height: 1.65;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ===== MOBILE APP ===== */
.pres-mobile {
  background: rgba(255, 255, 255, 0.5);
}

.pres-mobile__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pres-mobile__content .pres-subheading {
  margin-bottom: 1.5rem;
}

.pres-mobile__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pres-mobile__list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--pres-text);
}

.pres-mobile__list li i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--pres-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pres-mobile__device {
  position: relative;
  display: flex;
  justify-content: center;
}

.pres-mobile__phone {
  width: 280px;
  background: #0f172a;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--pres-shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.pres-mobile__notch {
  width: 100px;
  height: 24px;
  background: #0f172a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto -12px;
  position: relative;
  z-index: 3;
}

.pres-mobile__screen {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 456 / 940;
  position: relative;
}

.pres-mobile__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.pres-mobile__screen img.active {
  opacity: 1;
}

/* ===== ANALYTICS ===== */
.pres-analytics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.pres-stat-card {
  background: var(--pres-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--pres-border);
  border-radius: var(--pres-radius);
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.pres-stat-card:hover {
  transform: translateY(-4px);
}

.pres-stat-card__value {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  background: var(--pres-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.pres-stat-card__label {
  font-size: 0.875rem;
  color: var(--pres-text-muted);
  margin-top: 0.35rem;
}

.pres-charts {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.pres-chart-card {
  background: #fff;
  border: 1px solid var(--pres-border);
  border-radius: var(--pres-radius);
  padding: 1.75rem;
  box-shadow: var(--pres-shadow);
}

.pres-chart-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--pres-text);
}

.pres-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 160px;
}

.pres-bar-chart__bar {
  flex: 1;
  background: var(--pres-gradient);
  border-radius: 6px 6px 0 0;
  min-height: 8px;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.pres-bar-chart.animated .pres-bar-chart__bar {
  transform: scaleY(1);
}

.pres-line-chart {
  width: 100%;
  height: 160px;
}

.pres-line-chart polyline {
  fill: none;
  stroke: url(#presLineGrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.2s ease;
}

.pres-line-chart.animated polyline {
  stroke-dashoffset: 0;
}

/* ===== SECURITY ===== */
.pres-security {
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.04));
}

.pres-security__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pres-security-card {
  display: flex;
  gap: 1.25rem;
  background: var(--pres-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--pres-border);
  border-radius: var(--pres-radius);
  padding: 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pres-security-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pres-shadow-lg);
}

.pres-security-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--pres-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pres-security-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pres-security-card p {
  font-size: 0.9rem;
  color: var(--pres-text-muted);
  line-height: 1.65;
  margin: 0;
}

.pres-security__badge-wrap {
  text-align: center;
}

.pres-security__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 120, 212, 0.08);
  border: 1px solid rgba(0, 120, 212, 0.2);
  border-radius: var(--pres-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: #0078d4;
}

/* ===== CTA ===== */
.pres-cta {
  padding: var(--pres-section-pad) clamp(1.25rem, 4vw, 2rem);
}

.pres-cta__box {
  max-width: var(--pres-max);
  margin: 0 auto;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  background: var(--pres-gradient);
  border-radius: calc(var(--pres-radius) + 4px);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pres-cta__box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15), transparent 50%);
  pointer-events: none;
}

.pres-cta__box h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  position: relative;
}

.pres-cta__box p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.65;
  position: relative;
}

.pres-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
}

.pres-cta__box .pres-btn--primary {
  background: #fff;
  color: var(--pres-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pres-cta__box .pres-btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.pres-cta__box .pres-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .pres-marquee__track,
  .pres-hero__particle {
    animation: none;
  }

  .pres-walkthrough__panel,
  .pres-lifecycle__step,
  .pres-bar-chart__bar,
  .pres-line-chart polyline {
    transition: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pres-hero__inner,
  .pres-walkthrough__layout,
  .pres-mobile__layout,
  .pres-charts {
    grid-template-columns: 1fr;
  }

  .pres-hero__content {
    max-width: 100%;
    text-align: center;
  }

  .pres-hero__actions {
    justify-content: center;
  }

  .pres-problems__grid,
  .pres-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pres-analytics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pres-lifecycle__arrow {
    transform: rotate(90deg);
  }

  .pres-lifecycle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .pres-problems__grid,
  .pres-features__grid,
  .pres-security__grid {
    grid-template-columns: 1fr;
  }

  .pres-analytics__grid {
    grid-template-columns: 1fr 1fr;
  }

  .pres-lifecycle {
    grid-template-columns: repeat(2, 1fr);
  }

  .pres-mobile__phone {
    width: 240px;
  }
}

@media (max-width: 479px) {
  .pres-analytics__grid {
    grid-template-columns: 1fr;
  }

  .pres-lifecycle {
    grid-template-columns: 1fr 1fr;
  }

  .pres-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .pres-hero__actions .pres-btn {
    width: 100%;
  }
}

@media (min-width: 1600px) {
  :root {
    --pres-max: 1400px;
  }
}

/* ===== BOOK DEMO MODAL ===== */
.pres-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.pres-demo-modal[hidden] {
  display: none;
}

.pres-demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.pres-demo-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background: #fff;
  border-radius: calc(var(--pres-radius) + 2px);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.25);
  animation: presDemoModalIn 0.28s ease;
}

@keyframes presDemoModalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pres-demo-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.pres-demo-modal__close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.pres-demo-modal__panel h2 {
  margin: 0 2rem 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pres-text);
}

.pres-demo-modal__subtitle {
  margin: 0 0 1.25rem;
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--pres-text-muted);
}

.pres-demo-form__field {
  margin-bottom: 1rem;
}

.pres-demo-form__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pres-text);
}

.pres-demo-form__field label span {
  color: #ef4444;
}

.pres-demo-form__field input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.9rem;
  font-family: var(--pres-font);
  font-size: 0.95rem;
  border: 1.5px solid var(--pres-border);
  border-radius: var(--pres-radius-sm);
  background: #fff;
  color: var(--pres-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pres-demo-form__field input:focus {
  outline: none;
  border-color: var(--pres-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.pres-demo-form__field input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

.pres-demo-form__msg {
  min-height: 1.25rem;
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.pres-demo-form__msg--error {
  color: #dc2626;
}

.pres-demo-form__msg--success {
  color: #16a34a;
}

.pres-demo-form__submit {
  width: 100%;
}

.pres-demo-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
