/* style.css */
:root {
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --secondary-color: #8b5cf6;
  --bg-color: #f8fafc;
  --text-color: #1e293b;
  --text-muted: #64748b;
  --card-bg: #ffffff;
  --footer-bg: #0f172a;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background: var(--card-bg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--primary-color);
}
.nav-links .btn {
  color: #fff;
}
.nav-links .btn:hover {
  color: #fff;
}
.btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: background 0.3s;
}
.btn:hover {
  background: var(--primary-hover);
  color: #fff;
}
.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 8px;
}
.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Hero */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: #cbd5e1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin: 80px 0 40px;
  font-weight: bold;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-top: -30px;
  margin-bottom: 40px;
}

/* Grid */
.grid-3, .grid-4, .grid-2 {
  display: grid;
  gap: 30px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Cards */
.card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.icon {
  font-size: 3rem;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}
.card p {
  color: var(--text-muted);
}

/* Streaming & AI */
.streaming-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Pricing */
.pricing-card {
  border: 1px solid #e2e8f0;
  padding: 40px;
  border-radius: 16px;
  background: var(--card-bg);
  text-align: center;
}
.pricing-card.popular {
  border: 2px solid var(--primary-color);
  position: relative;
}
.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}
.pricing-card h3 {
  font-size: 1.5rem;
}
.price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--text-color);
  margin: 20px 0;
}
.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: normal;
}
.pricing-card ul {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}
.pricing-card li {
  margin-bottom: 15px;
  color: var(--text-color);
}
.pricing-card li::before {
  content: "✓";
  color: #10b981;
  margin-right: 10px;
  font-weight: bold;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card-bg);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.faq-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.faq-item p {
  color: var(--text-muted);
}

/* Reviews */
.review-card {
  text-align: left;
}
.stars {
  color: #fbbf24;
  margin-bottom: 15px;
}
.reviewer {
  margin-top: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e2e8f0;
}

/* Footer */
footer {
  background: var(--footer-bg);
  color: #fff;
  text-align: center;
  padding: 60px 20px 40px;
  margin-top: 80px;
}
.footer-links {
  margin-bottom: 30px;
}
.footer-links a {
  color: #94a3b8;
  margin: 0 20px;
  font-weight: 500;
}
.footer-links a:hover {
  color: #fff;
}
.copyright {
  color: #64748b;
  font-size: 0.9rem;
}

/* Subpages Content */
.subpage-hero {
  padding: 60px 20px;
  background: var(--footer-bg);
  color: white;
  text-align: center;
}
.subpage-hero h1 {
  font-size: 2.5rem;
}
.page-content {
  background: var(--card-bg);
  padding: 50px;
  margin: -30px auto 60px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  max-width: 900px;
}
.page-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}
.page-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
}
.page-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-muted);
}
.page-content li {
  margin-bottom: 10px;
}

/* Media Queries */
@media (max-width: 768px) {
  .grid-3, .grid-4, .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 20px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .btn, .btn-large {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 16px;
  }
  .header-container {
    flex-direction: column;
  }
  .nav-links {
    margin-top: 15px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .header-btn, .header-container nav .btn {
    width: 100%;
    margin-top: 15px;
    margin-left: 0 !important;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .footer-links a {
    margin: 0;
  }
  .page-content {
    padding: 30px 20px;
    margin: 20px auto 40px;
  }
}

/* SEO & A11y Updates */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--primary-color); color: white; padding: 8px; z-index: 1000; transition: top 0.2s; }
.skip-link:focus { top: 0; }
section[id], h2[id], h3[id] { scroll-margin-top: 90px; }
details.faq-item { background: var(--card-bg); padding: 20px 30px; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
details.faq-item summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; outline: none; list-style: none; color: var(--primary-color); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item p { margin-top: 15px; margin-bottom: 0; }
