/* ═══════════════════════════════════════════════════════════════════════
   MAGNUS WEBSITE — Components (Light Theme)
   Clean, professional, flowing SaaS aesthetic
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Navbar ───────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: var(--z-navbar);
  display: flex;
  align-items: center;
  padding: 0 var(--space-xl);
  transition: background var(--duration-base) ease,
              box-shadow var(--duration-base) ease,
              backdrop-filter var(--duration-base) ease;
}

.navbar--transparent {
  background: transparent;
}

.navbar--solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width-lg);
  margin: 0 auto;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
}

.navbar__logo img {
  height: 36px;
  width: auto;
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar__logo-brand {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--brand-dark);
}

.navbar__logo-tagline {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.navbar__link {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color var(--duration-fast) ease,
              background var(--duration-fast) ease;
  white-space: nowrap;
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

/* Dropdown */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__dropdown-trigger::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.4;
  transition: transform var(--duration-fast) ease;
}

.navbar__dropdown:hover .navbar__dropdown-trigger::after {
  transform: rotate(180deg);
}

.navbar__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-fast) ease,
              transform var(--duration-fast) ease,
              visibility var(--duration-fast) ease;
}

.navbar__dropdown:hover .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar__dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) ease;
}

.navbar__dropdown-item:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.navbar__dropdown-item .item-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-base) ease;
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}
.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.navbar__mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  padding: var(--space-xl);
  flex-direction: column;
  gap: var(--space-sm);
  z-index: var(--z-navbar);
  overflow-y: auto;
}

.navbar__mobile-menu.active {
  display: flex;
  animation: fadeIn var(--duration-base) ease;
}

.navbar__mobile-menu .navbar__link {
  font-size: var(--text-lg);
  padding: var(--space-md);
}

@media (max-width: 1024px) {
  .navbar__nav { display: none; }
  .navbar__toggle { display: flex; }
  .navbar__cta-desktop { display: none; }
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-xl);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--text-on-brand);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  color: var(--text-on-brand);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-blue);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  background: rgba(37, 99, 235, 0.06);
  color: var(--accent-blue);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-xs);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-lg);
}

.btn .btn-arrow {
  transition: transform var(--duration-fast) ease;
}
.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ── Cards ────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-card);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* Product card */
.product-card {
  position: relative;
  overflow: hidden;
}

.product-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.product-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.product-card__desc {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.product-card__ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-violet);
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-full);
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-blue);
  margin-top: var(--space-md);
  transition: gap var(--duration-fast) ease;
}

.product-card__link:hover {
  gap: 10px;
}

/* ── Category Pill / Tag ──────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pill--blue    { color: var(--accent-blue);   background: rgba(37, 99, 235, 0.08);  }
.pill--violet  { color: var(--accent-violet); background: rgba(124, 58, 237, 0.08); }
.pill--green   { color: var(--accent-green);  background: rgba(5, 150, 105, 0.08);  }
.pill--amber   { color: var(--accent-amber);  background: rgba(217, 119, 6, 0.08);  }
.pill--red     { color: var(--accent-red);    background: rgba(220, 38, 38, 0.08);  }
.pill--cyan    { color: var(--accent-cyan);   background: rgba(8, 145, 178, 0.08);  }

/* ── Stat Counter ─────────────────────────────────────────────────────── */
.stat {
  text-align: center;
  padding: var(--space-lg);
}

.stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-xs);
  color: var(--brand-primary);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── Model Card (expandable accordion) ────────────────────────────────── */
.model-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
  background: var(--bg-primary);
  box-shadow: var(--shadow-xs);
}

.model-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.model-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  user-select: none;
  transition: background var(--duration-fast) ease;
}

.model-card__header:hover {
  background: var(--bg-secondary);
}

.model-card__header-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.model-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.model-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
}

.model-card__subtitle {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.model-card__chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--duration-base) var(--ease-out);
  flex-shrink: 0;
}

.model-card.expanded .model-card__chevron {
  transform: rotate(180deg);
}

.model-card__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.model-card.expanded .model-card__body {
  max-height: 1200px;
}

.model-card__content {
  padding: 0 var(--space-lg) var(--space-lg);
  border-top: 1px solid var(--border);
}

.model-card__section {
  padding-top: var(--space-lg);
}

.model-card__section-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.model-card__section-title::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.model-card__section-title--overview::before  { background: var(--accent-blue); }
.model-card__section-title--usage::before     { background: var(--accent-green); }
.model-card__section-title--insights::before  { background: var(--accent-violet); }
.model-card__section-title--standards::before { background: var(--accent-amber); }

.model-card__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.model-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.model-card__list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.model-card__list-item::before {
  content: '→';
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 1px;
}

.model-card__steps {
  counter-reset: step-counter;
}

.model-card__step {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.model-card__step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.08);
  color: var(--accent-green);
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Gradient header variants */
.model-card--product .model-card__header {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(79, 70, 229, 0.02));
  border-bottom: 1px solid rgba(37, 99, 235, 0.06);
}

.model-card--ai .model-card__header {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(236, 72, 153, 0.02));
  border-bottom: 1px solid rgba(124, 58, 237, 0.06);
}

/* ── Video Player Lightbox ────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn var(--duration-base) ease;
}

.lightbox[hidden] { display: none; }

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
}

.lightbox__content {
  position: relative;
  width: 90vw;
  max-width: 1100px;
  animation: scaleIn var(--duration-base) var(--ease-out);
}

.lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  font-size: var(--text-xl);
  transition: all var(--duration-fast) ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.lightbox__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.lightbox__video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.lightbox__image-wrapper {
  position: relative;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__image-wrapper img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xl);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.lightbox__nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox__nav--prev { left: var(--space-lg); }
.lightbox__nav--next { right: var(--space-lg); }

.lightbox__info {
  margin-top: var(--space-md);
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
}

.lightbox__download {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: white;
  font-size: var(--text-xs);
  font-weight: 600;
  transition: all var(--duration-fast) ease;
}

.lightbox__download:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

/* ── Video Card ───────────────────────────────────────────────────────── */
.video-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  transition: all var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-card);
}

.video-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) ease;
}

.video-card:hover .video-card__thumb img {
  transform: scale(1.05);
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity var(--duration-base) ease;
}

.video-card:hover .video-card__play { opacity: 1; }

.video-card__play-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-fast) var(--ease-spring);
}

.video-card:hover .video-card__play-icon { transform: scale(1.1); }

.video-card__play-icon::after {
  content: '';
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--brand-primary);
  margin-left: 3px;
}

.video-card__duration {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-mono);
  border-radius: var(--radius-sm);
}

.video-card__category {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
}

.video-card__info {
  padding: var(--space-md);
}

.video-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

/* ── Blog Card ────────────────────────────────────────────────────────── */
.blog-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  transition: all var(--duration-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) ease;
}

.blog-card:hover .blog-card__image img { transform: scale(1.05); }

.blog-card__content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
}

.blog-card__title a {
  color: var(--text-primary);
  text-decoration: none;
}

.blog-card__title a:hover { color: var(--accent-blue); }

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Infographic Card ─────────────────────────────────────────────────── */
.infographic-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  transition: all var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-card);
}

.infographic-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.infographic-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.infographic-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) ease;
}

.infographic-card:hover .infographic-card__image img { transform: scale(1.05); }

.infographic-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--duration-base) ease;
}

.infographic-card:hover .infographic-card__overlay { opacity: 1; }

.infographic-card__title {
  color: white;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
}

.infographic-card__expand {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--duration-base) var(--ease-spring);
  box-shadow: var(--shadow-lg);
  font-size: 1.5rem;
  color: var(--brand-primary);
}

.infographic-card:hover .infographic-card__expand {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ── Slide Deck Card ──────────────────────────────────────────────────── */
.slide-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-card);
}

.slide-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.slide-card__cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.slide-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.slide-card__format {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: 3px 10px;
  background: rgba(0,0,0,0.65);
  color: white;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.slide-card__pages {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  padding: 2px 8px;
  background: rgba(0,0,0,0.65);
  color: rgba(255,255,255,0.8);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  border-radius: var(--radius-sm);
}

.slide-card__info {
  padding: var(--space-lg);
}

.slide-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.slide-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

/* ── Filter Bar ───────────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: var(--space-xs);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.filter-btn {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--text-primary);
  background: var(--bg-primary);
}

.filter-btn.active {
  color: var(--text-primary);
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

/* ── Hero Section ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  overflow: hidden;
  background: var(--bg-hero);
}

.hero__glow {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  top: -200px;
  right: -300px;
}

.hero__glow-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  bottom: -200px;
  left: -200px;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__overline {
  margin-bottom: var(--space-md);
}

.hero__title {
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  margin-bottom: var(--space-2xl);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr) 1.5fr;
  gap: var(--space-2xl);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__brand .navbar__logo-brand {
  color: white;
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: #94A3B8;
  line-height: 1.7;
  max-width: 280px;
}

.footer__column-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--text-sm);
  color: #94A3B8;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.footer__link:hover {
  color: white;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--text-xs);
  color: #64748B;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  color: #64748B;
  transition: color var(--duration-fast) ease;
}

.footer__social a:hover {
  color: white;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ── Comparison Card (Problem/Solution) ───────────────────────────────── */
.comparison-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  transition: all var(--duration-base) var(--ease-out);
}

.comparison-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.comparison-card__problem {
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-md);
}

.comparison-card__problem .overline {
  color: var(--accent-red);
}

.comparison-card__solution .overline {
  color: var(--accent-green);
}

.comparison-card__solution p {
  color: var(--accent-green);
  font-weight: 600;
  font-size: var(--text-sm);
}

/* ── Trust Logos Strip ────────────────────────────────────────────────── */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.trust-strip .pill {
  font-size: var(--text-xs);
  padding: 6px 16px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
}
