:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #131b2e;
  --bg-tertiary: #1c2640;
  --card-bg: rgba(23, 33, 56, 0.85);
  --card-border: rgba(255, 255, 255, 0.1);
  --accent-primary: #ff6b35;
  --accent-secondary: #00d2ff;
  --accent-hover: #ff8555;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --price-highlight: #10b981;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--accent-primary);
  color: #fff;
  padding: 10px 18px;
  z-index: 9999;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 15px;
  outline: 3px solid #fff;
}

/* Header & Navigation */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.brand-logo .logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 8px 4px;
}

.nav-link:hover, .nav-link:focus {
  color: #fff;
}

.nav-link.highlight {
  color: var(--accent-secondary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-primary), #e0531b);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
  transition: transform 0.15s ease, background 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--accent-hover), var(--accent-primary));
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
  scroll-margin-top: 80px;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-secondary);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Hero Section */
.hero-section {
  padding: 100px 0 80px;
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(255, 107, 53, 0.15), transparent 60%);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--accent-primary);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 24px;
  color: #fffaf5;
  text-wrap: balance;
  text-shadow:
    0 0 4px #ffffff,
    0 0 10px #ff9458,
    0 0 20px #ff6b35,
    0 0 35px #ff5100,
    0 0 55px rgba(255, 107, 53, 0.65);
  animation: neon-orange-flicker 3.2s ease-in-out infinite;
}

.hero-br {
  display: block;
  margin-top: 6px;
}

@keyframes neon-orange-flicker {
  0%, 100% {
    text-shadow:
      0 0 4px #ffffff,
      0 0 10px #ff9458,
      0 0 22px #ff6b35,
      0 0 36px #ff5100,
      0 0 55px rgba(255, 107, 53, 0.7);
    filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.35));
    opacity: 1;
  }
  38% {
    text-shadow:
      0 0 3px #ffffff,
      0 0 8px #ff8244,
      0 0 18px #ff6b35,
      0 0 30px #ff5100,
      0 0 45px rgba(255, 107, 53, 0.55);
    filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.25));
    opacity: 0.98;
  }
  41% {
    text-shadow:
      0 0 1px #fff,
      0 0 4px #ff6b35,
      0 0 10px rgba(255, 107, 53, 0.25);
    opacity: 0.82;
  }
  43% {
    text-shadow:
      0 0 4px #ffffff,
      0 0 10px #ff9458,
      0 0 22px #ff6b35,
      0 0 36px #ff5100,
      0 0 55px rgba(255, 107, 53, 0.7);
    opacity: 1;
  }
  45% {
    text-shadow:
      0 0 2px #fff,
      0 0 5px #ff6b35;
    opacity: 0.88;
  }
  48% {
    text-shadow:
      0 0 4px #ffffff,
      0 0 12px #ff9b62,
      0 0 25px #ff6b35,
      0 0 42px #ff5100,
      0 0 65px rgba(255, 107, 53, 0.75);
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.4));
    opacity: 1;
  }
  78% {
    text-shadow:
      0 0 4px #ffffff,
      0 0 10px #ff9458,
      0 0 20px #ff6b35,
      0 0 34px #ff5100,
      0 0 50px rgba(255, 107, 53, 0.65);
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
    opacity: 0.97;
  }
}

.hero-title .brand-gradient {
  background: linear-gradient(135deg, #fff 30%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  background: linear-gradient(135deg, var(--accent-primary), #d94b15);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  min-height: 48px;
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 107, 53, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  min-height: 48px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Features Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 210, 255, 0.35);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-secondary);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Streaming & AI Cards */
.media-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.media-ai-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
}

.media-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.media-pill {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.pricing-notice {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 20px;
  padding: 0 16px;
  line-height: 1.6;
}

/* Pricing Table Section */
.pricing-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  box-shadow: var(--shadow-lg);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 720px;
}

.pricing-table th,
.pricing-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--card-border);
  white-space: nowrap;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  white-space: normal;
  min-width: 150px;
}

.pricing-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

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

.pricing-tier-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.pricing-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--price-highlight);
}

.pricing-price small {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  background: var(--accent-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
  transition: background 0.2s ease;
}

.pricing-cta:hover {
  background: var(--accent-hover);
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.review-content {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-secondary);
  color: #0b0f19;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.author-info h4 {
  font-size: 0.95rem;
  color: #fff;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

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

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.faq-item summary {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.faq-item summary::after {
  content: "▾";
  font-size: 1.2rem;
  color: var(--accent-secondary);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-content {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

.faq-content a {
  color: var(--accent-secondary);
  text-decoration: underline;
}

/* Footer */
footer.site-footer {
  margin-top: auto;
  background: #060911;
  border-top: 1px solid var(--card-border);
  padding: 40px 0 30px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 36px;
  list-style: none;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover, .footer-link:focus {
  color: #fff;
}

.footer-copy {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Sub-page Article & Policy Styles */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.08), transparent 70%);
}

.page-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.page-meta {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.content-body {
  max-width: 840px;
  margin: 0 auto 60px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.content-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 30px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.content-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin: 22px 0 12px;
}

.content-body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.content-body ul, .content-body ol {
  margin: 16px 0 20px 24px;
  color: var(--text-muted);
  line-height: 1.7;
}

.content-body li {
  margin-bottom: 8px;
}

.content-body a {
  color: var(--accent-secondary);
  text-decoration: underline;
}

.article-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0 60px;
}

.article-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 53, 0.4);
}

.article-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.article-card .read-more {
  display: inline-flex;
  align-items: center;
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 14px;
}

/* Responsive Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .features-grid, .reviews-grid, .article-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 10px 16px;
  }
  .nav-menu {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav-link {
    font-size: 0.8rem;
    padding: 4px 6px;
  }
  .nav-cta {
    padding: 6px 12px;
    font-size: 0.82rem;
    min-height: 40px;
  }
  .hero-section {
    padding: 70px 0 50px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-br {
    display: inline;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid, .media-ai-grid, .reviews-grid, .article-list-grid {
    grid-template-columns: 1fr;
  }
  .content-body {
    padding: 24px 18px;
  }
}

@media (max-width: 480px) {
  header.site-header {
    position: relative;
  }
  .nav-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .brand-logo {
    justify-content: center;
  }
  .nav-menu {
    order: 2;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .nav-link {
    font-size: 0.78rem;
    padding: 4px 6px;
  }
  .nav-cta {
    min-height: 40px;
    padding: 6px 14px;
    font-size: 0.82rem;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

@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;
  }
}
