:root {
  --primary-color: #2c5282;
  --secondary-color: #4a5568;
  --dark-color: #1a365d;
  --light-color: #f7fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
}

/* Header & Navigation */
.main-header {
  background: rgba(255, 255, 255, 0.259);
  /*padding: 1rem 1rem; */
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-image {
  width: 50px;
  height: 50px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav .nav-link[href="#autores"] {
  color: var(--primary-color);
}

.nav-link {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: var(--light-color);
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-color);
  cursor: pointer;
}

.hero {
  background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
  color: white;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-top: 80px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Book 3D Effect */
.book-3d {
  position: relative;
  width: 300px;
  height: 400px;
  perspective: 1000px;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}

.book-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #2c5282, #4a5568);
  transform: rotateY(-30deg);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.book-cover img {
  transform: rotateY(30deg) scale(1.1);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.book-3d:hover .book-cover img {
  transform: rotateY(30deg) scale(1.15);
}

.book-spine {
  position: absolute;
  width: 40px;
  height: 100%;
  background: linear-gradient(45deg, #1a365d, #2c5282);
  transform: rotateY(90deg) translateZ(-20px);
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  background-color: #3182ce;
}

.pulse {
  animation: pulse 2s infinite;
}

/* Benefits Section */
.benefits {
  padding: 5rem 2rem;
  background-color: var(--light-color);
}

.benefits h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
  padding: 5rem 2rem;
  background: white;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.testimonials-carousel {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  padding: 1rem;
}

.testimonial {
  flex: 0 0 350px;
  text-align: center;
  padding: 2rem;
  background: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.stars {
  color: gold;
  margin-top: 1rem;
}

/* Pricing Section */
.pricing {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
  color: white;
}

.pricing-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.price-tag {
  margin: 2rem 0;
}

.original-price {
  text-decoration: line-through;
  opacity: 0.7;
}

.current-price {
  font-size: 3rem;
  font-weight: bold;
  color: #4a5568;
}

.installments {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.bonus {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.bonus ul {
  list-style: none;
  margin-top: 1rem;
}

.bonus li {
  margin: 0.5rem 0;
}

.buy-button {
  display: inline-block;
  padding: 1.5rem 3rem;
  background-color: #48bb78;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 2rem 0;
  transition: transform 0.3s ease;
}

.buy-button:hover {
  transform: translateY(-2px);
  background-color: #38a169;
}

.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.payment-methods {
  font-size: 2rem;
  margin-top: 2rem;
}

.payment-methods i {
  margin: 0 0.5rem;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: white;
  text-decoration:underline;
  margin-left: 0rem;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: none;
}

/* Book Preview Section */
.book-preview {
  padding: 5rem 2rem;
  background: white;
}

.book-preview h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--dark-color);
}

.preview-container {
  max-width: 1200px;
  margin: 0 auto;
}

.preview-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.preview-item {
  padding: 2rem;
  background: var(--light-color);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.preview-item:hover {
  transform: translateY(-5px);
}

.preview-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.preview-item h3 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

/* Transformation Section */
.transformation {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #27044a 0%, #667eea 100%);
  color: white;
}

.transformation h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.transformation-content {
  max-width: 1000px;
  margin: 0 auto;
}

.transformation-text {
  text-align: center;
  margin-bottom: 3rem;
}

.transformation-text .highlight {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.transformation-text h3 {
  font-size: 2rem;
  color:#faff68;
}

.benefits-list {
  display: grid;
  gap: 2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgb(255, 255, 255);
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(10px);
}

.benefit-item i {
  font-size: 2rem;
  color: var(--secondary-color);
}

.benefit-item p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Product Options Section */
.product-options {
  padding: 5rem 2rem;
  background: #f8fafc;
  text-align: center;
}

.product-options h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.product-description {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  width: 200px;
  height: 280px;
  margin: 0 auto 2rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.format {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.buy-link {
  display: inline-block;
  padding: 1rem 2rem;
  background: #4299e1;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.buy-link:hover {
  background: #3182ce;
}

.guarantee-text {
  font-size: 0.9rem;
  color: #718096;
  margin-top: 1rem;
}

.rating {
  margin-top: 1rem;
}

.stars {
  color: #f6e05e;
  font-size: 1.2rem;
}

.reviews {
  font-size: 0.9rem;
  color: #718096;
  margin-left: 0.5rem;
}

.store-links {
  margin-top: 3rem;
}

.store-links p {
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 1rem;
}

.store-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.store-logo {
  display: flex;
  align-items: center;
  color: #2d3748;
  text-decoration: none;
  font-size: 1.2rem;
}

.store-logo i {
  margin-right: 0.25rem;
}

.store-logo span {
  font-size: 0.9rem;
}

/* Authors Section */
.authors {
  padding: 5rem 2rem;
  background: var(--light-color);
}

.authors h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--dark-color);
}

.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.author-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.author-card:hover {
  transform: translateY(-5px);
}

.author-card h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.author-card p {
  color: var(--secondary-color);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.author-email {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  transition: color 0.3s ease;
}

.author-email:hover {
  color: var(--dark-color);
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .book-3d {
    margin: 2rem auto;
  }

  .testimonials-carousel {
    flex-direction: column;
  }

  .testimonial {
    flex: 0 0 auto;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links a {
    display: block;
    margin: 0.5rem 0;
  }

  .floating-cta {
    display: block;
  }

  .mobile-menu-btn {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .main-nav.active {
    display: flex;
  }

  .nav-link {
    padding: 1rem;
    text-align: center;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .preview-content {
    grid-template-columns: 1fr;
  }
  
  .benefit-item {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .benefit-item:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .product-image {
    width: 180px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .authors-grid {
    grid-template-columns: 1fr;
  }
  
  .author-card {
    padding: 1.5rem;
  }
}