/* ========================================
   CSS Variables — Matrix Flix Premium
   ======================================== */
:root {
  --matrix-green: #00FF41;
  --matrix-green-mid: #00C832;
  --matrix-green-dark: #008F11;
  --bg-primary: #050905;
  --bg-section-alt: #0a110a;
  --bg-card: rgba(10, 20, 10, 0.6);
  --bg-card-hover: rgba(15, 30, 15, 0.8);
  --text-primary: #FFFFFF;
  --text-secondary: #A0B3A0;
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --border-subtle: rgba(0, 255, 65, 0.15);
  --border-mid: rgba(0, 255, 65, 0.4);
  --shadow-green-sm: 0 0 15px rgba(0, 255, 65, 0.2);
  --shadow-green-md: 0 10px 30px rgba(0, 255, 65, 0.15);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========================================
   Canvas Background (Matrix Rain)
   ======================================== */
#matrix-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25; 
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-primary) 85%);
  z-index: 0;
  pointer-events: none;
}

/* ========================================
   Layout & Sections
   ======================================== */
section {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-title .highlight {
  color: var(--matrix-green);
  text-shadow: 0 0 20px rgba(0,255,65,0.3);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.text-center { text-align: center; }

/* ========================================
   Buttons
   ======================================== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  background: var(--matrix-green);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid rgba(0, 255, 65, 0.8);
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--matrix-green-mid), var(--matrix-green-dark));
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.7);
  border-color: var(--matrix-green);
}

.cta-button:hover::before {
  opacity: 1;
}

/* ========================================
   1. HERO
   ======================================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  background: radial-gradient(ellipse at right, rgba(0,255,65,0.05) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { text-align: left; }

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0,255,65,0.1);
  border: 1px solid var(--matrix-green);
  border-radius: 4px;
  color: var(--matrix-green);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-content h1 span { color: var(--matrix-green); }

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 90%;
}

.hero-image-wrapper {
  position: relative;
  perspective: 1000px;
}

.hero-image-inner {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border-mid);
  box-shadow: var(--shadow-green-md), 0 0 80px rgba(0,255,65,0.1);
  overflow: hidden;
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-image-inner {
  transform: rotateY(0deg) rotateX(0deg);
}

.hero-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ========================================
   2. HOW IT WORKS
   ======================================== */
#features {
  background: var(--bg-section-alt);
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--matrix-green);
  box-shadow: var(--shadow-green-sm);
  background: var(--bg-card-hover);
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.svg-3d {
  width: 70px;
  height: 70px;
  color: var(--matrix-green);
  filter: 
    drop-shadow(1px 1px 0 #005010)
    drop-shadow(2px 2px 0 #005010)
    drop-shadow(3px 3px 0 #005010)
    drop-shadow(4px 4px 0 #005010)
    drop-shadow(0px 0px 15px rgba(0,255,65,0.8));
  animation: floatSvg 3s ease-in-out infinite;
}

.guarantee-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.svg-3d-large {
  width: 120px;
  height: 120px;
  color: var(--matrix-green);
  filter: 
    drop-shadow(1px 1px 0 #005010)
    drop-shadow(2px 2px 0 #005010)
    drop-shadow(3px 3px 0 #005010)
    drop-shadow(4px 4px 0 #005010)
    drop-shadow(5px 5px 0 #005010)
    drop-shadow(6px 6px 0 #005010)
    drop-shadow(0px 0px 25px rgba(0,255,65,0.8));
  animation: floatSvgLarge 4s ease-in-out infinite;
}

@keyframes floatSvg {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

@keyframes floatSvgLarge {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* ========================================
   3. PRICING (Verde Total)
   ======================================== */
#pricing { position: relative; }

.pricing-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pricing-card {
  flex: 1 1 320px;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(10px);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-mid);
}

.pricing-card.featured {
  max-width: 420px;
  border: 2px solid var(--matrix-green);
  background: linear-gradient(135deg, rgba(0,255,65,0.12) 0%, rgba(0,255,65,0.03) 100%);
  padding: 50px 35px;
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 40px rgba(0,255,65,0.25);
  position: relative;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: scale(1.05) translateY(0); }
  50% { transform: scale(1.05) translateY(-10px); }
  100% { transform: scale(1.05) translateY(0); }
}

.pricing-badge {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  background: var(--matrix-green);
  color: #000;
  padding: 6px 20px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0,255,65,0.4);
}

.pricing-tier {
  font-family: var(--font-heading);
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.pricing-card.featured .pricing-tier {
  color: var(--matrix-green);
  text-shadow: 0 0 10px rgba(0,255,65,0.3);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: #fff;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
}

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

.pricing-features {
  text-align: left;
  margin: 30px 0;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--matrix-green);
  font-weight: bold;
}

.pricing-card .cta-button { width: 100%; }

/* ========================================
   4. GUARANTEE
   ======================================== */
#guarantee {
  background: var(--bg-section-alt);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.guarantee-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ========================================
   5. ABOUT
   ======================================== */
#about {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-photo-wrapper {
  position: relative;
  max-width: 450px;
  margin: 0 auto;
}

.about-photo-wrapper::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px; right: 20px; bottom: 20px;
  border: 2px solid var(--matrix-green);
  border-radius: 20px;
  z-index: 0;
}

.about-photo-frame {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-green-md);
}

.about-photo-frame img { width: 100%; height: auto; display: block; }

.about-text h2 { font-family: var(--font-heading); font-size: 2.5rem; color: #fff; margin-bottom: 20px; }
.about-text h2 span { color: var(--matrix-green); }
.about-text p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }

/* ========================================
   6. FAQ
   ======================================== */
#faq {
  background: var(--bg-section-alt);
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(2,12,2,0.6);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] { border-color: var(--border-mid); }

.faq-item summary {
  padding: 22px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,255,65,0.07);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--matrix-green); font-size: 1.2rem;
  transition: transform 0.35s ease, background 0.3s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: rgba(0,255,65,0.12);
}

.faq-item[open] summary { color: var(--matrix-green); }

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 1rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ========================================
   7. FOOTER
   ======================================== */
footer {
  text-align: center;
  padding: 40px 24px;
  background: #000;
  border-top: 1px solid rgba(0,255,65,0.1);
}

footer p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 10px; }

/* ========================================
   Scroll Animations & Indicator
   ======================================== */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 10;
  opacity: 0.8;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  color: var(--matrix-green);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  visibility: hidden;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, visibility;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* ========================================
   Responsive Breakpoints
   ======================================== */
@media (max-width: 992px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { text-align: center; order: 2; }
  .hero-image-wrapper { order: 1; max-width: 80%; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: scale(1); animation: none; }
}

@media (max-width: 768px) {
  section { padding: 50px 15px; }
  .section-title { font-size: 1.8rem; margin-bottom: 20px; }
  .section-subtitle { font-size: 1rem; margin-bottom: 40px; }
  
  .hero-content h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 1.05rem; }
  
  .pricing-grid { flex-direction: column; gap: 20px; }
  .pricing-card { width: 100%; padding: 30px 20px; }
  .pricing-card.featured { transform: scale(1); padding: 40px 20px; animation: none; }
  
  .explanation-box.premium-card { padding: 30px 20px; border-radius: 15px; }
  .premium-highlight { font-size: 1.1rem; padding: 8px 15px; }
  .explanation-text { font-size: 1.05rem; text-align: left; }
  .explanation-learn { padding: 25px 15px; margin: 30px 0; }
  .explanation-learn h3 { font-size: 1.2rem; }
  .explanation-learn li { font-size: 1rem; align-items: flex-start; gap: 10px; }
  
  .testimonial-card { padding: 20px; }
  
  .cta-button { width: 100%; text-align: center; padding: 15px 20px; }
  
  .about-text h2 { font-size: 2rem; }
  .faq-item summary { font-size: 1rem; padding: 18px 15px; }
}

/* ========================================
   1.5. EXPLICAÇÃO DO PRODUTO
   ======================================== */
#explanation {
  background: var(--bg-primary);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.explanation-box.premium-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 60px 50px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,255,65,0.05);
}

.explanation-text.lead-text {
  font-size: 1.3rem;
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
}

.premium-highlight {
  display: inline-block;
  background: var(--matrix-green);
  color: #000;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,255,65,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.explanation-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

.explanation-text strong {
  color: var(--matrix-green);
  font-weight: 600;
}

.explanation-learn {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-mid);
  border-left: 5px solid var(--matrix-green);
  border-radius: 12px;
  padding: 40px;
  margin: 50px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.learn-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.learn-header .title-icon {
  width: 30px;
  height: 30px;
  color: var(--matrix-green);
  filter: drop-shadow(0 0 8px rgba(0,255,65,0.6));
}

.explanation-learn h3 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
}

.explanation-learn ul {
  display: flex;
  flex-direction: column;
}

.explanation-learn li {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-primary);
  font-size: 1.15rem;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.explanation-learn li:last-child {
  border-bottom: none;
}

.learn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.learn-icon svg {
  width: 24px;
  height: 24px;
  color: var(--matrix-green);
  filter: drop-shadow(0 0 5px rgba(0,255,65,0.5));
}

.explanation-text.cta-text {
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  font-size: 1.3rem;
  text-align: center;
}

/* ========================================
   1.6. DEPOIMENTOS
   ======================================== */
#testimonials {
  background: var(--bg-section-alt);
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--matrix-green);
  box-shadow: var(--shadow-green-sm);
}

.testimonial-stars {
  color: var(--matrix-green);
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0,255,65,0.5);
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  color: #fff;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

