/* ==========================================================================
   DoramaFlix - Modern Clean Streaming Aesthetic
   ========================================================================== */

:root {
  --bg-primary: #0a0b10;
  --bg-secondary: #12131c;
  --bg-card: rgba(18, 20, 30, 0.6);
  --bg-card-hover: rgba(26, 29, 44, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(255, 42, 109, 0.3);
  
  --primary: #ff2a6d;
  --primary-hover: #ff4785;
  --primary-glow: rgba(255, 42, 109, 0.35);
  --primary-gradient: linear-gradient(135deg, #ff2a6d 0%, #ff5287 100%);
  
  --gold: #f59e0b;
  --success: #10b981;
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 42, 109, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 40%, rgba(147, 51, 234, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Top Announcement Bar (Sleek & Minimal)
   ========================================================================== */
.top-bar {
  background: rgba(18, 20, 30, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 16px;
  text-align: center;
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.top-bar strong {
  color: #ff699a;
}

.top-bar .timer-badge {
  background: rgba(255, 42, 109, 0.15);
  border: 1px solid rgba(255, 42, 109, 0.3);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
}

/* ==========================================================================
   Header & Navbar (Clean, uncluttered)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(10, 11, 16, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 99;
  padding: 14px 0;
}

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

.brand-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: #fff;
}

.btn-header {
  padding: 9px 20px;
  background: var(--primary-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.btn-header:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero & Video Section (Clean & Focused)
   ========================================================================== */
.hero-section {
  padding: 40px 0 50px;
}

.hero-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 30px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 42, 109, 0.12);
  border: 1px solid rgba(255, 42, 109, 0.3);
  color: #ff699a;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.meta-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.8rem;
}

.meta-pill.highlight {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
  font-weight: 600;
}

/* ==========================================================================
   Video Player Container (Instant Play, No Clutter)
   ========================================================================== */
.player-outer-wrapper {
  max-width: 400px;
  margin: 0 auto 25px;
  position: relative;
}

.player-outer-wrapper::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 8%;
  right: 8%;
  bottom: 15%;
  background: rgba(255, 42, 109, 0.18);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.video-player-card {
  position: relative;
  z-index: 1;
  background: #000;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play button overlay */
.play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(255, 42, 109, 0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 6;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.play-overlay-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.play-overlay-btn.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ==========================================================================
   Post-Video CTA Box (Clean & Direct)
   ========================================================================== */
.post-video-callout {
  max-width: 680px;
  margin: 25px auto 0;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 42, 109, 0.25);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  text-align: center;
}

.post-video-callout h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.post-video-callout p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.55;
}

/* Primary CTA Button */
.cta-button-main {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(255, 42, 109, 0.4);
}

.cta-button-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 42, 109, 0.6);
}

.cta-subtext {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 3px;
}

.cta-guarantee-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ==========================================================================
   Section: Informações sobre o DoramaFlix & Gêneros (Clean Grid)
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-subtitle {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 1.95rem;
  font-weight: 800;
  margin-bottom: 10px;
}

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

/* Genres Grid */
.genres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

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

.genre-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.genre-card .genre-icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: inline-block;
}

.genre-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.genre-card p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Clean 4 Highlights */
.benefits-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.benefit-item .b-icon {
  color: #34d399;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-item h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Series Showcase Section (Poster Cards)
   ========================================================================== */
.series-section {
  padding: 60px 0;
  background: rgba(14, 15, 23, 0.4);
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  margin-bottom: 35px;
}

.series-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.series-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 42, 109, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.series-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #000;
}

.series-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.series-card:hover .series-poster-wrap img {
  transform: scale(1.04);
}

.poster-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.series-info {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.series-tag {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.series-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.35;
}

.series-synopsis {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
}

.btn-card-action {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  text-align: center;
  transition: var(--transition);
}

.series-card:hover .btn-card-action {
  background: var(--primary);
}

/* ==========================================================================
   Depoimentos (Clean Testimonials)
   ========================================================================== */
.testimonials-section {
  padding: 60px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.user-details h4 {
  font-size: 0.96rem;
}

.user-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  font-style: italic;
}

/* ==========================================================================
   Pricing Section (Minimal & High Impact)
   ========================================================================== */
.pricing-section {
  padding: 70px 0;
}

.pricing-box-wrapper {
  max-width: 580px;
  margin: 0 auto;
}

.pricing-box {
  background: linear-gradient(180deg, #171826 0%, #10111a 100%);
  border: 1px solid rgba(255, 42, 109, 0.4);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.pricing-badge {
  display: inline-block;
  background: rgba(255, 42, 109, 0.15);
  border: 1px solid rgba(255, 42, 109, 0.3);
  color: #ff699a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.pricing-plan-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.price-container {
  margin: 18px 0 24px;
}

.price-original {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-current {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ff699a;
}

.price-amount {
  font-size: 3.4rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  text-align: left;
  max-width: 420px;
  margin: 0 auto 28px;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.pricing-features-list li .check-icon {
  color: #34d399;
  font-weight: bold;
}

.guarantee-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  padding: 60px 0;
}

.faq-accordion {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-chevron {
  font-size: 0.9rem;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 20px 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #06070a;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-logo {
  height: 32px;
  margin: 0 auto 14px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.65rem;
  }
  .nav-links {
    display: none;
  }
  .player-outer-wrapper {
    max-width: 330px;
  }
  .pricing-box {
    padding: 28px 18px;
  }
  .price-amount {
    font-size: 2.8rem;
  }
  .cta-button-main {
    padding: 14px 22px;
    font-size: 0.95rem;
    width: 100%;
  }
}
