/* ============================================
   STREAMING VIDEO - Page Styles
   ============================================ */

/* Page Header */
.sv-page-header {
  position: relative;
  padding: 120px 0 48px;
  overflow: hidden;
  text-align: center;
}
.sv-page-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #0a0a1a 0%, #0d1b3e 40%, #0a2540 100%);
}
.sv-page-header__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,115,230,.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(139,92,246,.1) 0%, transparent 50%);
}
.sv-page-header .container {
  position: relative;
  z-index: 1;
}
.sv-page-header .sa-breadcrumb {
  justify-content: center;
  margin-bottom: 16px;
}
.sv-page-header .sa-breadcrumb a,
.sv-page-header .sa-breadcrumb svg {
  color: rgba(255,255,255,.6);
}
.sv-page-header .sa-breadcrumb a:hover {
  color: #fff;
}
.sv-page-header .sa-breadcrumb span {
  color: #fff;
}
.sv-page-header__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}
.sv-page-header__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  margin: 0;
}

/* ============================================
   LIVE DEMO
   ============================================ */
.sv-demo {
  padding-bottom: 20px;
}

.sv-demo__player {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}

.sv-demo__player-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 53.57%; /* 560:300 */
  background: #000;
}

.sv-demo__player-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.sv-demo__player-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.sv-demo__live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  background: #e53e3e;
  padding: 4px 12px;
  border-radius: 100px;
}

.sv-demo__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: sv-pulse 1.5s ease-in-out infinite;
}

@keyframes sv-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.sv-demo__channel-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   PLANS GRID
   ============================================ */
.sv-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.sv-plan-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}

.sv-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.08);
}

.sv-plan-card--popular {
  border-color: var(--accent-primary);
  box-shadow: 0 8px 32px rgba(0,115,230,.12);
}

.sv-plan-card--popular::before {
  content: 'Recomendado';
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--accent-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.sv-plan-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sv-plan-card__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.sv-plan-card__currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.sv-plan-card__price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.sv-plan-card__period {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.sv-plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.sv-plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.sv-plan-card__features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.sv-plan-card__features li .check {
  color: var(--accent-secondary);
}

.sv-plan-card__features li .cross {
  color: var(--text-tertiary);
  opacity: .5;
}

.sv-plan-card__features li.disabled {
  opacity: .45;
  text-decoration: line-through;
}

.sv-plan-card__cta {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s;
}

.sv-plan-card__cta--primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--blue-600));
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,115,230,.3);
}

.sv-plan-card__cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,115,230,.4);
}

.sv-plan-card__cta--secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.sv-plan-card__cta--secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.sv-compare {
  margin-top: 48px;
}

.sv-compare__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all .25s;
  font-family: inherit;
}

.sv-compare__toggle:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.sv-compare__toggle.open .sv-compare__chevron {
  transform: rotate(180deg);
}

.sv-compare__chevron {
  transition: transform .3s;
}

.sv-compare__table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.sv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.sv-table thead th {
  padding: 16px 14px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
}

.sv-table thead th:first-child {
  text-align: left;
}

.sv-table thead th.highlight {
  background: rgba(0,115,230,.06);
  color: var(--accent-primary);
}

.sv-table tbody td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.sv-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
}

.sv-table tbody tr:last-child td {
  border-bottom: none;
}

.sv-table tbody tr:hover td {
  background: var(--bg-secondary);
}

.sv-table .icon-yes {
  color: var(--accent-secondary);
}

.sv-table .icon-no {
  color: var(--text-tertiary);
  opacity: .4;
}

/* ============================================
   APP SHOWCASE SLIDER
   ============================================ */
.sv-app-showcase {
  padding-bottom: 20px;
}

.sv-app-showcase .section-subtitle {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Tabs */
.sv-app-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.sv-app-tab {
  padding: 12px 28px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--bg-primary);
  cursor: pointer;
  transition: all .25s;
  text-align: center;
  font-family: inherit;
}

.sv-app-tab:hover {
  border-color: var(--accent-primary);
}

.sv-app-tab.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

.sv-app-tab__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.sv-app-tab__type {
  display: block;
  font-size: 0.72rem;
  opacity: .7;
  margin-top: 2px;
}

/* Slider */
.sv-app-slider {
  position: relative;
}

.sv-app-slider__track {
  position: relative;
  min-height: 420px;
}

.sv-app-slide {
  display: none;
  gap: 48px;
  align-items: center;
  justify-content: center;
  animation: svSlideIn .4s ease;
}

.sv-app-slide.active {
  display: flex;
}

@keyframes svSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.sv-app-slide__phone {
  flex-shrink: 0;
}

.sv-app-slide__phone img {
  width: 260px;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,.12);
  transition: transform .4s;
}

.sv-app-slide__phone img:hover {
  transform: translateY(-8px) scale(1.02);
}

.sv-app-slide__info {
  max-width: 440px;
}

.sv-app-slide__info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 10px 0 4px;
}

.sv-app-slide__info h3 small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  display: block;
  margin-top: 4px;
}

.sv-app-slide__info p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.sv-app-slide__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sv-app-slide__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 10px 14px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: border-color .25s;
}

.sv-app-slide__features li:hover {
  border-color: var(--accent-primary);
}

.sv-app-slide__features li svg {
  color: var(--accent-secondary);
  flex-shrink: 0;
}

/* Arrows */
.sv-app-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s;
  z-index: 2;
}

.sv-app-slider__arrow:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 4px 16px rgba(0,115,230,.15);
}

.sv-app-slider__arrow--prev {
  left: -22px;
}

.sv-app-slider__arrow--next {
  right: -22px;
}

@media (max-width: 768px) {
  .sv-app-slide {
    flex-direction: column;
    text-align: center;
  }
  .sv-app-slide__phone img {
    width: 200px;
  }
  .sv-app-slide__info {
    max-width: 100%;
  }
  .sv-app-slide__features {
    grid-template-columns: 1fr;
  }
  .sv-app-slide__features li {
    justify-content: center;
  }
  .sv-app-slider__arrow {
    display: none;
  }
  .sv-app-slider__track {
    min-height: auto;
  }
}

/* ============================================
   FEATURES GRID
   ============================================ */
.sv-features {
  background: var(--bg-secondary);
}

.sv-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sv-feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  transition: transform .3s, box-shadow .3s;
}

.sv-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.06);
}

.sv-feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(0,115,230,.08);
  color: var(--accent-primary);
}

.sv-feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.sv-feature-card__icon--green {
  background: rgba(0,166,81,.08);
  color: var(--accent-secondary);
}

.sv-feature-card__icon--purple {
  background: rgba(139,92,246,.08);
  color: #8b5cf6;
}

.sv-feature-card__icon--orange {
  background: rgba(245,158,11,.08);
  color: #f59e0b;
}

.sv-feature-card__icon--cyan {
  background: rgba(6,182,212,.08);
  color: #06b6d4;
}

.sv-feature-card__icon--red {
  background: rgba(239,68,68,.08);
  color: #ef4444;
}

.sv-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.sv-feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   FAQ
   ============================================ */
.sv-faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sv-faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s;
}

.sv-faq-item[open] {
  border-color: var(--accent-primary);
}

.sv-faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sv-faq-item summary::-webkit-details-marker {
  display: none;
}

.sv-faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-tertiary);
  transition: transform .3s;
  flex-shrink: 0;
}

.sv-faq-item[open] summary::after {
  content: '−';
  color: var(--accent-primary);
}

.sv-faq-item p {
  padding: 0 24px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CTA
   ============================================ */
.sv-cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #0a2540 0%, var(--accent-primary) 50%, #8b5cf6 100%);
  color: #fff;
}

.sv-cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.sv-cta p {
  font-size: 1.1rem;
  opacity: .85;
  margin-bottom: 32px;
}

.sv-cta__btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sv-cta .btn--primary {
  background: #fff;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sv-cta .btn--primary:hover {
  background: #f0f0f0;
  box-shadow: none;
}

.sv-cta .btn--secondary {
  border-color: rgba(255,255,255,.35);
  color: #fff;
  background: transparent;
}

.sv-cta .btn--secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .sv-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sv-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sv-plans-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .sv-features-grid {
    grid-template-columns: 1fr;
  }
  .sv-page-header {
    padding: 100px 0 36px;
  }
  .sv-plan-card {
    padding: 24px 20px;
  }
  .sv-demo__player {
    border-radius: 14px;
  }
}

/* ============================================
   Tags (cards & table)
   ============================================ */
.sv-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 166, 81, .12);
  color: #00a651;
  vertical-align: middle;
  margin-left: 4px;
}
.sv-tag--blue {
  background: rgba(0, 115, 230, .12);
  color: #0073e6;
}

.sv-table-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(0, 115, 230, .12);
  color: #0073e6;
}
.sv-table-tag--green {
  background: rgba(0, 166, 81, .12);
  color: #00a651;
}

[data-theme="dark"] .sv-tag {
  background: rgba(0, 166, 81, .2);
}
[data-theme="dark"] .sv-tag--blue {
  background: rgba(0, 115, 230, .2);
}
[data-theme="dark"] .sv-table-tag {
  background: rgba(0, 115, 230, .2);
}
[data-theme="dark"] .sv-table-tag--green {
  background: rgba(0, 166, 81, .2);
}
