.apps-shell {
  padding: 0;
}

.download-section {
  margin-top: 4rem;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  align-items: center;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.download-actions .button {
  width: 100%;
  justify-content: center;
  border-radius: 16px;
}

.download-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

.download-visual {
  text-align: center;
  width: 160px;
}

.download-visual img {
  width: 160px;
  height: 160px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.apps-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.apps-nav__brand {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.apps-nav__links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.apps-nav__links a {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.apps-nav__links a:hover,
.apps-nav__links a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.apps-nav__cta {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
}

.apps-hero,
.app-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
  padding: 2rem 0 3rem;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent-tapescam), #7b5bff);
  color: #08020f;
  border: none;
  box-shadow: 0 10px 30px rgba(92, 63, 255, 0.25);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.button.large {
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--border-radius-lg);
  font-size: 1rem;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-visual,
.mockup-panel {
  background: var(--card);
  border-radius: 32px;
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.hero-video-container {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0b19;
}

.hero-video-container video {
  width: 100%;
  display: block;
  border-radius: inherit;
}

.tapescam-hero-frame {
padding: 1rem;
border-radius: 25px;
background: linear-gradient(to bottom right, rgba(18, 0, 44, 0.9), rgba(21, 0, 109, 0.85));
border: 1px solid rgba(255, 255, 255, 0.1);
}

.tapescam-hero-frame video {
  border-radius: 25px;
}

.video-unmute-btn {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: rgba(6, 2, 12, 0.65);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-unmute-btn:hover {
  background: rgba(6, 2, 12, 0.85);
  transform: translateY(-2px);
}

.video-unmute-btn svg {
  width: 20px;
  height: 20px;
}

.video-thumb-wrapper {
  margin-bottom: 0.85rem;
}

.video-thumb {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: block;
}

.video-thumb img {
  width: 100%;
  display: block;
}

.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.05));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.video-thumb:hover::after {
  opacity: 1;
}

.video-thumb .play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(8, 2, 20, 0.8);
  color: var(--white);
  border-radius: 999px;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.video-thumb:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.05);
}

.video-thumb .play-icon svg {
  width: 26px;
  height: 26px;
}

.video-thumb-label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.video-thumb-wrapper video {
  width: 100%;
  border-radius: 22px;
  display: block;
  background: #07030f;
}

.mockup-panel img,
.mockup-panel svg {
  width: 100%;
  border-radius: 24px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.app-card {
  background: var(--card);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.app-card__shot {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-card__shot img,
.app-card__shot svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card__title {
  font-size: 1.5rem;
  font-weight: 600;
}

.app-card__subtitle {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.app-card__link {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.accent-punchline .app-card__shot {
  background: radial-gradient(circle at top, rgba(255, 140, 66, 0.4), rgba(255, 255, 255, 0.02));
}

.accent-tapescam .app-card__shot {
  background: radial-gradient(circle at top, rgba(192, 150, 255, 0.4), rgba(255, 255, 255, 0.02));
}

.app-section {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.app-section h2 {
  font-size: 2rem;
}

.app-section p {
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.signal-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.signal-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.signal-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-tapescam);
}

.callout {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.callout strong {
  color: var(--text);
}

.tapescam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 1000px) {
  .tapescam-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tapescam-panel {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tapescam-panel h3 {
  margin-bottom: 0.5rem;
}

.ab-demo-section {
  margin-top: 2.5rem;
}

.ab-demo-content {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  flex-wrap: wrap;
}

.ab-demo-copy,
.ab-demo-player {
  flex: 1 1 280px;
}

.ab-demo-player {
  display: flex;
  align-items: center;
  min-width: 0;
}

.ab-demo-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.ab-demo-copy h2 {
  margin-bottom: 0.75rem;
}

.ab-demo-copy p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.ab-demo-note {
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.8;
}

.ab-demo-player .ab-player {
  width: 100%;
}

.ab-demo-player .ab-transport,
.ab-demo-player .ab-mix {
  width: 100%;
}

.ab-demo-player .ab-transport {
  justify-content: space-between;
}

.ab-demo-player .ab-mix-labels span {
  font-weight: 600;
}

.ab-demo-player .ab-time {
  font-size: 0.85rem;
}

.ab-player {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ab-transport {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ab-play-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ab-play-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.ab-time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.ab-mix {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ab-mix-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ab-mix-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.ab-mix-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-tapescam);
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.ab-mix-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-tapescam);
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.theme-tapescam {
  --accent-tapescam: #c096ff;
  --primary-orange: #c096ff;
  --secondary-orange: #a06dff;
  --accent-orange: #d7b2ff;
}

.theme-tapescam .hero-title span {
  color: var(--accent-tapescam);
}

.theme-tapescam .button.primary {
  background: linear-gradient(135deg, var(--accent-tapescam), #7b5bff);
  color: #0f041c;
}

.theme-tapescam .mockup-panel {
  background: #121217;
}

@media (max-width: 800px) {
  .ab-demo-content {
    flex-direction: column;
  }

  .ab-demo-player {
    align-items: flex-start;
  }

  .ab-demo-player .ab-transport {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 900px) {
  .apps-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .apps-nav__links {
    justify-content: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .download-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem;
  }

  .download-visual {
    margin: 0 auto;
  }

  .download-actions {
    align-items: stretch;
  }
}
