/* ============================================================
   NOVAIPTV UK - Complete Stylesheet
   ============================================================ */

:root {
  --orange: #FE5803;
  --orange-dark: #C24601;
  --orange-light: #FF8C44;
  --orange-pale: #FFF3E8;
  --bg: #FFFFFF;
  --bg-soft: #FFF9F5;
  --text: #1A1410;
  --text-soft: #6B5F55;
  --border: #F0E4D8;
  --success: #16A34A;
  --error: #DC2626;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(26, 20, 16, 0.06);
  --shadow-md: 0 10px 30px rgba(254, 88, 3, 0.1);
  --shadow-lg: 0 24px 60px rgba(254, 88, 3, 0.16);
}

/* ========== RESET & BASE ========== */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
  color: var(--text);
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

button {
  font-family: 'Inter', sans-serif;
}

/* ========== CONTAINER ========== */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

/* ========== UTILITIES ========== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange-dark);
  background: var(--orange-pale);
  border: 1px solid rgba(254, 88, 3, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.btn-block {
  width: 100%;
}

/* ========== PROMO BAR ========== */

.promo-bar {
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 12px 16px;
  animation: slideDown 0.6s ease;
}

.promo-bar b {
  background: var(--orange);
  padding: 2px 10px;
  border-radius: 6px;
  margin: 0 4px;
  font-weight: 700;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ========== HEADER & NAV ========== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  line-height: 1;
}

.logo svg {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-soft);
}

.nav-links a:hover {
  color: var(--orange-dark);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  padding: 12px 0;
  font-weight: 600;
  color: var(--text-soft);
}

.mobile-menu a:hover {
  color: var(--orange-dark);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu.active {
    display: flex;
  }
}

/* ========== HERO SECTION ========== */

.hero {
  padding: 64px 0 40px;
  background: linear-gradient(180deg, var(--orange-pale) 0%, #fff 65%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.1;
  margin: 18px 0 20px;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero p.lead {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

@media (max-width: 900px) {
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  .hero-trust {
    justify-content: center;
  }
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  background: #fff;
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
}

.hero-trust .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== STAT STRIP ========== */

.stat-strip {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 760px) {
  .stat-strip .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: 12px;
}

.stat-card b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.stat-card small {
  font-size: 12px;
  color: var(--text-soft);
}

/* ========== SECTIONS ========== */

.section {
  padding: 72px 0;
}

@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin: 14px 0 12px;
}

.section-head p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
}

/* ========== WHY GRID ========== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 860px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.why-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--orange-pale);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 800;
}

.why-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ========== CATALOGUE GRID ========== */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 860px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

.cat-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cat-card:hover {
  transform: scale(1.02);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}

.cat-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cat-card p {
  font-size: 13px;
  opacity: 0.9;
}

/* ========== PRICING ========== */

#pricing {
  background: var(--bg-soft);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

@media (max-width: 860px) {
  .price-card.featured {
    transform: scale(1);
  }
}

.price-card .badge {
  display: inline-block;
  background: var(--orange-pale);
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 20px;
  margin: 12px 0;
}

.price-card .price {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--orange);
  margin: 16px 0;
}

.price-card .price small {
  font-size: 16px;
  color: var(--text-soft);
  font-weight: 400;
}

.price-card ul {
  list-style: none;
  margin: 24px 0;
  text-align: left;
  font-size: 14px;
  color: var(--text-soft);
}

.price-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-card li:before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  font-size: 16px;
}

.price-card .btn {
  margin-top: 24px;
  width: 100%;
}

/* ========== DEVICES ========== */

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

.device-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.device-tab {
  padding: 12px 20px;
  border: 2px solid var(--border);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.device-tab:hover {
  border-color: var(--orange);
}

.device-tab.active {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.device-content {
  display: none;
}

.device-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .device-content.active {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.device-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.device-list {
  list-style: none;
  font-size: 15px;
  color: var(--text-soft);
}

.device-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
}

.device-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 16px;
}

/* ========== STEPS ========== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
}

.step-num {
  width: 50px;
  height: 50px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.step p {
  color: var(--text-soft);
  font-size: 14.5px;
}

/* ========== SUPPORT ========== */

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

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .support-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.support-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.support-image img {
  width: 100%;
  height: auto;
}

.support-list {
  list-style: none;
  margin-top: 24px;
  font-size: 15px;
}

.support-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}

.support-list b {
  color: var(--success);
  margin-right: 10px;
  font-size: 16px;
}

/* ========== TESTIMONIALS ========== */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

.testi-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

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

.testi-card .quote {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.65;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testi-author b {
  display: block;
  font-size: 14px;
}

.testi-author small {
  font-size: 12px;
  color: var(--text-soft);
}

/* ========== FAQ ========== */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list details {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.faq-list summary {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  list-style: none;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-list summary:hover {
  color: var(--orange-dark);
}

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

.faq-list summary:after {
  content: "+";
  font-weight: 700;
  font-size: 20px;
  color: var(--orange);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary:after {
  content: "−";
}

.faq-list details[open] summary {
  color: var(--orange);
}

.faq-list p {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ========== FINAL CTA ========== */

.final-cta {
  text-align: center;
  padding: 40px;
  background: var(--orange-pale);
  border-radius: var(--radius);
}

.final-cta h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--text-soft);
  margin-bottom: 24px;
  font-size: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ========== FOOTER ========== */

footer {
  background: var(--text);
  color: #fff;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

footer h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  font-weight: 700;
}

footer ul {
  list-style: none;
  font-size: 14px;
}

footer ul li {
  margin-bottom: 10px;
}

footer a {
  color: #ccc;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--orange);
}

.desc {
  color: #ccc;
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #999;
}

.footer-bottom a {
  color: #999;
}

/* ========== COOKIE BANNER ========== */

#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: #fff;
  padding: 20px 24px;
  display: none;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

#cookieBanner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

#cookieBanner p {
  font-size: 14px;
  margin: 0;
}

#cookieBanner a {
  color: var(--orange);
  font-weight: 600;
}

@media (max-width: 640px) {
  #cookieBanner .container {
    flex-direction: column;
    align-items: flex-start;
  }
  #cookieBanner > div:last-child {
    width: 100%;
    display: flex;
    gap: 10px;
  }
}

/* ========== ANIMATIONS ========== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== PRINT ========== */

@media print {
  .promo-bar,
  header,
  footer,
  #cookieBanner,
  .btn {
    display: none;
  }
}

/* ========== ACCESSIBILITY ========== */

:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --bg-soft: #1a1a1a;
    --text: #f5f5f5;
    --text-soft: #b0b0b0;
    --border: #333;
  }

  body {
    background: var(--bg);
    color: var(--text);
  }

  header {
    background: rgba(10, 10, 10, 0.92);
  }
}
