/* Reset and Base Styles */
:root {
  --bg-color: #f4f5f8;
  --text-main: #111827;
  --primary-color: #fbbf24; /* vibrant yellow */
  --secondary-color: #3b82f6; /* vibrant blue */
  --accent-color: #ef4444; /* vibrant red */
  --border-color: #111827;
  --border-width: 3px;
  --shadow-color: #111827;
  --shadow-offset: 6px;
  --font-main: 'Inter', 'Comic Sans MS', system-ui, sans-serif; /* Cel-shaded/comic vibe */
  --transition: all 0.2s ease-in-out;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* Cel-shaded halftone/dot pattern background */
  background-image: radial-gradient(#d1d5db 2px, transparent 2px);
  background-size: 30px 30px;
}

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3 {
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.brand-text {
  color: var(--secondary-color);
  text-shadow: 2px 2px 0px var(--shadow-color);
  -webkit-text-stroke: 1px var(--border-color);
  font-size: 1.1em;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 0px var(--primary-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  border: var(--border-width) solid var(--border-color);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--shadow-color);
  text-transform: uppercase;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-main);
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: calc(var(--shadow-offset) - 2px) calc(var(--shadow-offset) - 2px) 0px var(--shadow-color);
  background: #fcd34d;
}

.btn-secondary {
  background: white;
  color: var(--text-main);
}

.btn-secondary:hover {
  transform: translate(2px, 2px);
  box-shadow: calc(var(--shadow-offset) - 2px) calc(var(--shadow-offset) - 2px) 0px var(--shadow-color);
  background: #f3f4f6;
}

/* Navbar */
.navbar {
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: var(--bg-color);
  border-bottom: var(--border-width) solid var(--border-color);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  text-shadow: 2px 2px 0px var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
  font-weight: 700;
}

.nav-links a {
  padding: 5px 10px;
  border-radius: 4px;
}

.nav-links a:hover {
  background: var(--border-color);
  color: white;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 25px;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 600;
  max-width: 600px;
  margin-bottom: 40px;
  border-left: 5px solid var(--secondary-color);
  padding-left: 20px;
  background: white;
  padding: 15px 20px;
  border-radius: 8px;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 4px 4px 0px var(--shadow-color);
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* Dynamic Hero Graphic */
.hero-graphic {
  flex: 1;
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 20px 30px;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 6px 6px 0px var(--shadow-color);
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.2rem;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}

.card-1 {
  top: 10%;
  left: 5%;
  background: var(--primary-color);
  animation-delay: 0s;
  transform: rotate(-5deg);
}

.card-2 {
  top: 40%;
  right: 5%;
  background: var(--secondary-color);
  color: white;
  animation-delay: 1.5s;
  transform: rotate(5deg);
}

.card-3 {
  bottom: 15%;
  left: 20%;
  background: var(--accent-color);
  color: white;
  animation-delay: 0.7s;
  transform: rotate(-2deg);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-15px) rotate(var(--rot, 2deg)); }
}

.card-1 { --rot: -5deg; }
.card-2 { --rot: 5deg; }
.card-3 { --rot: -2deg; }


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

.card {
  background: white;
  border: var(--border-width) solid var(--border-color);
  border-radius: 16px;
  padding: 40px 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--shadow-color);
}

.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: calc(var(--shadow-offset) + 4px) calc(var(--shadow-offset) + 4px) 0px var(--shadow-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 25px;
  box-shadow: 3px 3px 0px var(--shadow-color);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-desc {
  font-weight: 600;
  font-size: 1rem;
}

/* Streaming & AI */
.streaming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}

.stream-card {
  background: white;
  border: var(--border-width) solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  box-shadow: 4px 4px 0px var(--shadow-color);
  transition: var(--transition);
}
.stream-card:hover {
  transform: translateY(-5px);
  box-shadow: 6px 6px 0px var(--shadow-color);
  background: var(--primary-color);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: white;
  border: var(--border-width) solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--shadow-color);
}

.pricing-card.popular {
  background: var(--secondary-color);
  color: white;
  transform: scale(1.05);
}
.pricing-card.popular .btn-secondary {
  color: var(--text-main);
}
.pricing-card.popular .pricing-features li {
  color: white;
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: white;
  padding: 6px 16px;
  border: 2px solid var(--border-color);
  box-shadow: 3px 3px 0px var(--border-color);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 30px;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

.pricing-price span {
  font-size: 1.2rem;
  font-weight: 700;
}

.pricing-features {
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.pricing-features li::before {
  content: '⚡';
}

.pricing-card .btn {
  width: 100%;
}

/* Reviews */
.review-card {
  padding: 30px;
}

.review-stars {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 0px var(--border-color);
}

.review-text {
  font-weight: 700;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 2px dashed var(--border-color);
  padding-top: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
}

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

.faq-item {
  background: white;
  border: var(--border-width) solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 4px 4px 0px var(--shadow-color);
}

.faq-q {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}
.faq-q::before {
  content: 'Q:';
  color: var(--accent-color);
}

.faq-a {
  font-weight: 600;
  padding-left: 35px;
}

/* Footer */
.footer {
  border-top: var(--border-width) solid var(--border-color);
  padding: 80px 0 20px;
  margin-top: 80px;
  background: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-weight: 600;
  margin-top: 15px;
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.footer-bottom {
  text-align: center;
  font-weight: 700;
  border-top: 2px dashed var(--border-color);
  padding-top: 20px;
}

/* Subpages Container */
.subpage-hero {
  padding: 160px 0 60px;
  text-align: center;
  border-bottom: var(--border-width) solid var(--border-color);
  background: var(--primary-color);
}

.subpage-content {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-left: var(--border-width) solid var(--border-color);
  border-right: var(--border-width) solid var(--border-color);
  min-height: 500px;
}

.subpage-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: var(--secondary-color);
  text-shadow: 1px 1px 0px var(--border-color);
}

.subpage-content p, .subpage-content ul {
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.subpage-content ul {
  list-style: none;
}
.subpage-content li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}
.subpage-content li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
    border-left: none;
    border-top: 5px solid var(--secondary-color);
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-graphic {
    width: 100%;
    height: 300px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .pricing-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .nav-links {
    display: none; /* simple mobile nav hide for now */
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- SEO additions: breadcrumb, article meta, summary ---- */
.breadcrumb {
  padding: 110px 20px 0;
  text-align: center;
  background: var(--primary-color);
  font-size: 0.95rem;
  color: #374151;
}
.breadcrumb a {
  color: var(--text-main);
  text-decoration: underline;
  font-weight: bold;
}
.breadcrumb + .subpage-hero {
  padding-top: 20px;
}
.article-meta {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #374151;
}
.summary-box {
  background: #fff7d6;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 4px 4px 0 var(--shadow-color);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero .hero-kicker {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  background: var(--primary-color);
  border-width: 2px;
  box-shadow: 3px 3px 0 var(--shadow-color);
  padding: 6px 14px;
  margin-bottom: 20px;
  display: inline-block;
}
