/* ==========================================================================
   VOISIPTV - Main Stylesheet (voisiptv.shop)
   Clean, Premium, Fresh & Trustworthy IPTV Design System
   ========================================================================== */

/* 1. CSS RESET & GLOBAL VARIABLES */
:root {
  --primary-navy: #172B4D;
  --secondary-navy: #0f172a;
  --bg-white: #FFFFFF;
  --bg-soft-gray: #F5F7F9;
  --text-charcoal: #17202A;
  --text-muted: #5E6C84;
  --accent-amber: #f59e0b;
  --accent-amber-hover: #d97706;
  --accent-green: #10B981;
  --hot-player-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --hot-player-card: #1e293b;
  --border-light: rgba(23, 43, 77, 0.1);
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-charcoal);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

section, header, footer, nav, div, article, aside {
  width: 100%;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* 2. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 0.85rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 0.75rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* 3. BUTTONS & BADGES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background-color: var(--accent-amber);
  color: #0f172a;
}
.btn-primary:hover {
  background-color: var(--accent-amber-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--primary-navy);
  color: #FFFFFF;
}
.btn-secondary:hover {
  background-color: #0f172a;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
}
.btn-outline:hover {
  background: var(--primary-navy);
  color: #FFFFFF;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.badge-trust {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-pricing {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* 4. HEADER & NAVIGATION */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-light);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.header__logo img {
  height: 42px;
  width: auto;
  border-radius: 6px;
}

.header__nav {
  display: flex;
  align-items: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.header__nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-charcoal);
  position: relative;
  padding: 8px 0;
}

.header__nav-link:hover {
  color: var(--accent-amber-hover);
}

.header__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-navy);
  cursor: pointer;
  padding: 8px;
}

.header__mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1100;
  padding: 30px 20px;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
  flex-direction: column;
  gap: 20px;
}

.header__mobile-menu.active {
  right: 0;
}
.header__mobile-overlay.active {
  display: block;
  opacity: 1;
}

.header__mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-navy);
  cursor: pointer;
}

.header__mobile-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.header__mobile-list a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-navy);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--bg-soft-gray);
}

/* 5. TOP BANNER & URGENCY */
.top-banner {
  background: var(--primary-navy);
  color: #FFFFFF;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.top-banner span {
  background: var(--accent-amber);
  color: #0f172a;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
}

/* 6. HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(180deg, var(--bg-soft-gray) 0%, #FFFFFF 100%);
  padding: 80px 20px 60px 20px;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__quote-box {
  background: #FFFFFF;
  border-left: 4px solid var(--accent-amber);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-style: italic;
  color: var(--primary-navy);
  font-weight: 600;
  margin: 10px 0;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* 7. HOT PLAYER UI STYLING */
.tv-content {
  background: var(--hot-player-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #FFFFFF;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.tv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
}

.tv-logo-area {
  display: flex;
  flex-direction: column;
}

.tv-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  color: #FFFFFF;
}

.tv-logo-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-amber);
}

.tv-version {
  font-size: 0.75rem;
  color: #94a3b8;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
}

.status-active {
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.status-divider {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.2);
}

.status-expire {
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tv-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.tv-card {
  background: var(--hot-player-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.tv-card:hover, .tv-card.active {
  background: #334155;
  border-color: var(--accent-amber);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
}

.tv-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.tv-card-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.tv-card span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
}

.tv-footer {
  display: flex;
  justify-content: flex-end;
}

.tv-icon-group {
  display: flex;
  gap: 12px;
}

.tv-icon-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.tv-icon-btn:hover {
  background: var(--accent-amber);
  color: #0f172a;
}

/* 8. INFINITE MOVING CAROUSELS (NEVER-STOP SLIDE GALLERY) */
.section {
  padding: 70px 20px;
  width: 100%;
}

.section-soft {
  background-color: var(--bg-soft-gray);
}

.section-dark {
  background-color: var(--secondary-navy);
  color: #FFFFFF;
}
.section-dark h2, .section-dark h3 {
  color: #FFFFFF;
}
.section-dark p {
  color: #94a3b8;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.carousel-track-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 12px 0;
  box-sizing: border-box;
}

/* Subtle side fade gradients */
.carousel-track-wrapper::before,
.carousel-track-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.carousel-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}
.carousel-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}

.section-soft .carousel-track-wrapper::before {
  background: linear-gradient(to right, var(--bg-soft-gray), rgba(245, 247, 249, 0));
}
.section-soft .carousel-track-wrapper::after {
  background: linear-gradient(to left, var(--bg-soft-gray), rgba(245, 247, 249, 0));
}

.section-dark .carousel-track-wrapper::before {
  background: linear-gradient(to right, #0f172a, rgba(15, 23, 42, 0));
}
.section-dark .carousel-track-wrapper::after {
  background: linear-gradient(to left, #0f172a, rgba(15, 23, 42, 0));
}

.carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
  will-change: transform;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-track--slow {
  animation-duration: 45s;
}

.carousel-track--fast {
  animation-duration: 25s;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Individual Card Tile Styling */
.carousel-card {
  flex: 0 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  box-sizing: border-box;
}

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

/* Individual Dark Tile Cards for Channel Logos (Low opacity dark navy frame with soft amber border) */
.carousel--logos .carousel-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  width: 160px;
  height: 90px;
}

.carousel--logos img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.carousel--movies .carousel-card {
  width: 180px;
}
.carousel--movies img {
  aspect-ratio: 1 / 1.482;
  object-fit: cover;
  width: 100%;
}

.carousel--devices .carousel-card {
  width: 220px;
}
.carousel--devices img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.carousel--sport .carousel-card {
  width: 200px;
}
.carousel--sport img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  width: 100%;
}

.carousel--wtsp .carousel-card {
  width: 220px;
}
.carousel--wtsp img {
  aspect-ratio: 473 / 1024;
  object-fit: cover;
  width: 100%;
}

/* 9. COMPARISON TABLE */
.compare-table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  text-align: left;
  min-width: 600px;
}

.compare-table th, .compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.compare-table th {
  background: var(--primary-navy);
  color: #FFFFFF;
  font-size: 1.05rem;
}

.compare-table tr:hover {
  background-color: var(--bg-soft-gray);
}

.compare-table .brand-col {
  font-weight: 700;
  color: var(--accent-amber-hover);
  background: rgba(245, 158, 11, 0.05);
}

/* 10. PRICING SECTION */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 30px;
}

.pricing-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

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

.pricing-card.popular {
  border: 2px solid var(--accent-amber);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--accent-amber);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 12px 0;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-charcoal);
}

.pricing-features li.disabled {
  color: #cbd5e1;
  text-decoration: line-through;
}

.pricing-features .check {
  color: var(--accent-green);
  font-weight: 700;
}

/* Horizontal Plan Card */
.pricing-horizontal {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* Multi-Screen Pricing Grid */
.multiscreen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.multiscreen-card {
  background: var(--bg-soft-gray);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition);
}

.multiscreen-card:hover {
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.payment-icons-box {
  text-align: center;
  margin: 40px 0 20px 0;
}

.payment-icons-box img {
  max-width: 531px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px;
  background: #0f172a;
}

/* 11. 3-STEP ACTIVATION */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 30px;
}

.step-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  transition: var(--transition);
}

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

.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-amber);
  margin-bottom: 12px;
}

/* 12. CUSTOMER REVIEWS */
.rating-summary {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 24px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.review-details h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.review-details p {
  font-size: 0.82rem;
  margin: 0;
}

.review-stars {
  color: var(--accent-amber);
  font-size: 1.1rem;
}

/* 13. FAQ ACCORDION */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* 14. FOOTER STYLING */
.footer {
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 70px 20px 30px 20px;
  border-top: 4px solid var(--accent-amber);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer__col h3 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer__col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-amber);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: #cbd5e1;
  font-size: 0.92rem;
}

.footer__links a:hover {
  color: var(--accent-amber);
  padding-left: 4px;
}

.footer__bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  font-size: 0.88rem;
}

/* 15. RESPONSIVE BREAKPOINTS (MOBILE-FIRST PRIORITIZATION) */
@media (max-width: 992px) {
  .hero__container {
    grid-template-columns: 1fr;
  }
  .pricing-grid, .multiscreen-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .header__nav-list {
    display: none;
  }
  .header__toggle {
    display: block;
  }
  
  .hero {
    padding: 60px 16px 40px 16px;
  }
  .hero__container {
    text-align: center;
  }
  .hero__trust-badges, .hero__actions {
    justify-content: center;
  }
  
  .tv-content {
    max-width: 100%;
    padding: 16px;
  }
  
  .pricing-horizontal {
    flex-direction: column;
    text-align: center;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .btn { width: 100%; }
}
