/* Bandicam.app - Component overrides and extras */
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform .15s;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Language switcher in header */
.lang-switcher {
  margin-left: .5rem;
  padding: .35rem .6rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
}
.lang-switcher:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
  background: var(--color-surface);
}
.nav-desktop .lang-switcher {
  margin-left: .75rem;
}
.nav-mobile .lang-switcher {
  margin-top: .5rem;
  display: inline-block;
}

/* Keep button text/icon visible on hover when primary (red background) */
a.btn-primary:hover,
a.download-btn.btn-primary:hover {
  color: #fff;
}

a.btn-primary:hover img,
a.download-btn.btn-primary:hover img {
  opacity: 1;
}

.step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-list li {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 1.5rem;
  font-size: .9375rem;
  color: var(--color-text-muted);
}

.step-list li:last-child {
  padding-bottom: 0;
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  border-radius: 50%;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.trust-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-success);
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list li {
  margin-bottom: .5rem;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.link-list a:hover {
  color: var(--color-primary);
}

.cta-strip {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .cta-strip {
    padding: 3rem 2.5rem;
  }
}

.cta-strip h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: #fff;
}

@media (min-width: 768px) {
  .cta-strip h3 {
    font-size: 1.5rem;
  }
}

.cta-strip p {
  margin: 0 0 1.5rem;
  opacity: .95;
  font-size: .9375rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-strip .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  align-items: center;
}

.cta-strip .btn {
  background: #fff;
  color: var(--color-primary);
}

.cta-strip .btn:hover {
  background: rgba(255,255,255,.95);
}

/* Primary download button in CTA strip: keep red background, white text */
.cta-strip .btn.btn-primary {
  background: #fff;
  color: var(--color-primary);
}

.cta-strip .btn.btn-primary:hover {
  background: rgba(255,255,255,.95);
  color: var(--color-primary-dark);
}

.cta-strip-download {
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}

.cta-strip-download:hover,
.cta-strip .btn.cta-strip-download:hover {
  background: rgba(255,255,255,.35);
  color: #fff;
}

.cta-strip-legal {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: .8125rem;
  opacity: .9;
}

.cta-strip-legal a {
  color: #fff;
  text-decoration: underline;
}

.cta-strip-legal a:hover {
  color: #fff;
  opacity: .95;
}

/* Download page hero */
.download-hero {
  padding: 3rem 0 3.5rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .download-hero {
    padding: 4rem 0 4.5rem;
  }
}

.download-hero-inner {
  text-align: center;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.download-hero-inner .badge {
  margin-bottom: 1rem;
}

.download-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 .75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.download-hero-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 1.75rem;
  line-height: 1.55;
}

.download-hero-inner .download-main-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.download-main-btn {
  font-size: 1.0625rem;
  padding: .9rem 1.75rem;
}

.download-note {
  margin: 1rem 0 0;
  font-size: .875rem;
  color: var(--color-text-muted);
}

.download-mac-note {
  text-align: center;
  margin: 1.5rem 0 0;
  font-size: .875rem;
  color: var(--color-text-muted);
}

.download-mac-note a {
  color: var(--color-primary);
  text-decoration: none;
}

.download-mac-note a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.download-safety-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .download-safety-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.download-steps {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
}

.comparison-table .check {
  color: var(--color-success);
  font-weight: 600;
}

.comparison-table .dash {
  color: var(--color-text-muted);
}

.hero-carousel .slide {
  display: none;
}

.hero-carousel .slide.active {
  display: block;
}

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s;
}

.hero-control:hover {
  background: rgba(0,0,0,.7);
}

.hero-control.prev {
  left: 1rem;
}

.hero-control.next {
  right: 1rem;
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: .5rem;
  z-index: 10;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .2s;
}

.hero-dots button.active,
.hero-dots button:hover {
  background: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
