/* My TV Channel Website Styles */

:root {
  --brand-red: #E63946;
  --brand-red-hover: #d32f3c;
  --bg-dark: #0a0a0a;
  --bg-card: #1a1a1a;
  --bg-input: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --border-color: #333;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* Language Selector */
.language-selector {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.875rem;
}

.language-btn svg {
  width: 18px;
  height: 18px;
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  max-height: 300px;
  overflow-y: auto;
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.language-dropdown a:hover,
.language-dropdown a.active {
  background: var(--bg-input);
  color: var(--text-primary);
}

.flag {
  font-size: 1.1rem;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text-secondary);
}

.mobile-nav a:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 7rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(230, 57, 70, 0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 700px;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 2rem;
  box-shadow: 0 20px 60px rgba(230, 57, 70, 0.3);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: var(--brand-red);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--brand-red);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 12px;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--brand-red-hover);
  transform: translateY(-2px);
}

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

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

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

.hero-video {
  width: 100%;
  max-width: 720px;
  margin: 2.5rem auto 0;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* How to Watch */
.watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.watch-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: all 0.2s;
}

.watch-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.watch-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: white;
}

.watch-info {
  flex: 1;
  min-width: 0;
}

.watch-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.watch-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0.15rem 0 0;
}

.watch-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-red);
  white-space: nowrap;
}

/* Static (non-link) watch card — e.g. Roku, where you enter an access code */
.watch-card--static {
  cursor: default;
}

.watch-card--static:hover {
  border-color: rgba(255, 255, 255, 0.08);
  transform: none;
}

/* WordPress CTA */
.wordpress-cta {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 3rem;
  padding: 2rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.wordpress-cta .wp-logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: #21759b;
}

.wordpress-cta-text {
  flex: 1;
  min-width: 0;
}

.wordpress-cta-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.35rem 0 0.5rem;
}

.wordpress-cta-text p {
  color: var(--text-secondary);
  margin: 0 0 0.85rem;
  line-height: 1.5;
}

.wp-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(33, 117, 155, 0.15);
  border: 1px solid rgba(33, 117, 155, 0.4);
  color: #4fb3da;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.wordpress-cta .btn-primary {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .wordpress-cta {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
}

/* White Label */
.white-label {
  background:
    radial-gradient(ellipse at center top, rgba(230, 57, 70, 0.12) 0%, transparent 60%),
    var(--bg-dark);
}

.wl-offer {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

.wl-offer-price {
  width: 100%;
  max-width: 560px;
  padding: 2.5rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid rgba(230, 57, 70, 0.35);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(230, 57, 70, 0.08), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.wl-price-label {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.4);
  color: var(--brand-red);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wl-price-amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1.75rem;
}

.wl-price-amount span {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.wl-includes {
  list-style: none;
  text-align: left;
  max-width: 360px;
  margin: 0 auto 1.5rem;
  padding: 0;
}

.wl-includes li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.9rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

.wl-includes li:last-child {
  border-bottom: none;
}

.wl-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: -0.575rem;
  background: var(--brand-red);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 13 10 18 19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 13 10 18 19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.wl-addons {
  margin-bottom: 1.75rem;
}

.wl-addons p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0.35rem 0;
}

.wl-ops-note {
  max-width: 420px;
  margin: 0 auto 1.5rem;
  padding: 0.85rem 1.1rem;
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.wl-cta {
  display: inline-flex;
}

@media (max-width: 768px) {
  .wl-offer-price {
    padding: 2rem 1.5rem;
  }

  .wl-price-amount {
    font-size: 2.5rem;
  }
}

/* Animations */
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }

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

/* Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-label {
  color: var(--brand-red);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Features */
.features {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(230, 57, 70, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--brand-red);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--brand-red);
  font-size: 0.875rem;
  font-weight: 500;
}

.feature-link:hover {
  text-decoration: underline;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.pricing-card:hover {
  border-color: var(--brand-red);
}

.pricing-card.featured {
  border-color: var(--brand-red);
  background: linear-gradient(180deg, rgba(230, 57, 70, 0.1) 0%, var(--bg-card) 100%);
}

.pricing-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-red);
}

.pricing-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-details {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.pricing-details div {
  margin: 0.25rem 0;
}

/* Contact */
.contact {
  background: var(--bg-card);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.input-icon svg {
  width: 18px;
  height: 18px;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-red);
}

.form-input::placeholder {
  color: var(--text-secondary);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

select.form-input {
  appearance: none;
  cursor: pointer;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--brand-red);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-submit:hover {
  background: var(--brand-red-hover);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-submit svg {
  width: 18px;
  height: 18px;
}

.success-message {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.success-message.active {
  display: block;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  color: #22c55e;
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.btn-link {
  background: none;
  border: none;
  color: var(--brand-red);
  cursor: pointer;
  font-size: 1rem;
}

.btn-link:hover {
  text-decoration: underline;
}

.contact-form.hidden {
  display: none;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copy {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.footer-company {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

/* Legal Pages */
.legal-page {
  padding: 8rem 1.5rem 4rem;
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.legal-icon {
  width: 60px;
  height: 60px;
  color: var(--brand-red);
  margin-bottom: 1rem;
}

.legal-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section:last-of-type {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.company-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.company-info p {
  margin-bottom: 0.25rem;
}

.company-info strong {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 640px) {
  .hero {
    padding-top: 5rem;
    min-height: auto;
  }

  .app-icon {
    width: 80px;
    height: 80px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .legal-page {
    padding: 6rem 1rem 2rem;
  }

  .legal-content {
    padding: 1.5rem;
  }
}
