/* 
  InfinitePlay - Premium Streaming Design System 
  Palette: Canary Neon (#D3FF69) + Dark Mode 
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@700;800&family=Poppins:wght@600;700&display=swap');

:root {
  --primary-neon: #D3FF69;
  --primary-hover: #A8E85B;
  --primary-gradient: linear-gradient(135deg, #D3FF69 0%, #A8E85B 100%);

  --bg-main: #000000;
  --bg-secondary: #0B0B0D;
  --bg-card: #121214;

  --text-main: #FFFFFF;
  --text-muted: #B4B4B4;

  --font-heading: 'Montserrat', sans-serif;
  --font-subheading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --glow-primary: 0 0 20px rgba(211, 255, 105, 0.3);
  --glow-text: 0 0 10px rgba(211, 255, 105, 0.5);

  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
}

.text-neon {
  color: var(--primary-neon);
  text-shadow: var(--glow-text);
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: transparent;
  border: 2px solid var(--primary-neon);
  color: var(--text-main);
  box-shadow: var(--glow-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--primary-neon);
  transition: var(--transition);
  z-index: -1;
}

.btn-primary:hover::before {
  width: 100%;
}

.btn-primary:hover {
  color: var(--bg-main);
  box-shadow: 0 0 40px rgba(211, 255, 105, 0.6);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  border: 1px solid #333;
  color: var(--text-muted);
}

.btn-secondary:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
}

.nav-cta {
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  background: radial-gradient(circle at center, #1a1a1a 0%, #000000 70%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(211, 255, 105, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--primary-neon);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-neon);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-neon);
}

.feature-card h3 {
  font-family: var(--font-subheading);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Content Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.showcase-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.showcase-item:hover img {
  transform: scale(1.05);
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.showcase-overlay h3 {
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  position: relative;
}

.stars {
  color: #FFD700;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: #ddd;
}

.client-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.verified {
  font-size: 0.8rem;
  color: var(--primary-neon);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Pricing */
.pricing-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--primary-neon);
  border-radius: 24px;
  padding: 50px 30px;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  box-shadow: var(--glow-primary);
}

.discount-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-neon);
  color: var(--bg-main);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.price-header h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.price-amount {
  margin-bottom: 30px;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.new-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-neon);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.features-list {
  text-align: left;
  margin: 30px 0;
  padding: 0 20px;
}

.features-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.check-icon {
  color: var(--primary-neon);
  font-weight: bold;
}

/* Guarantee */
.guarantee-box {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.guarantee-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

.faq-question {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-family: var(--font-subheading);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
}

.faq-answer p {
  padding-bottom: 20px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-toggle {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Footer */
footer {
  background: var(--bg-secondary);
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo {
  height: 30px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.copyright {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .nav-cta {
    display: none;
    /* Hide CTA in header on mobile to save space */
  }

  .pricing-card {
    padding: 30px 20px;
  }
}

/* Cursor Glow Effect */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(211, 255, 105, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
  mix-blend-mode: screen;
  filter: blur(80px);
  left: 0;
  top: 0;
  opacity: 0;
}