/* =========================================
   🎨 PEQUEÑOS PASOS - PASTEL THEME v3
   ========================================= */

:root {
  /* --- Modern Pastel Palette --- */
  --primary: #ff9f68; /* Warm Peach */
  --primary-light: #ffb5a7; /* Soft Coral */
  --secondary: #b5ead7; /* Minty Fresh */
  --accent: #c7ceea; /* Periwinkle */
  --rose: #ffdac1; /* Blush */

  --bg-warm: #fff9f5; /* Creamy Background */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  --text-main: #4a4a4a;
  --text-light: #7a7a7a;

  /* --- Typography --- */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Quicksand", sans-serif;
  --font-script: "Dancing Script", cursive;

  /* --- Spacing & Radius --- */
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-warm);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* --- Background Blobs --- */
.bg-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: floatBlob 10s infinite alternate;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--primary-light);
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  bottom: -50px;
  right: -100px;
  animation-delay: -5s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--rose);
  top: 40%;
  left: 30%;
  opacity: 0.4;
  animation-duration: 15s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, 50px) scale(1.1);
  }
}

/* --- Glassmorphism Utilities --- */
.glass-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: center;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
}

.glass-panel-strong {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-xl);
}

/* --- Components --- */
.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge {
  display: inline-block;
  background: rgba(255, 159, 104, 0.15);
  color: #e67e22;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8ba7 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px -10px var(--primary);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px -10px var(--primary);
}

.btn-large {
  width: 100%;
  justify-content: center;
  padding: 1.2rem;
  font-size: 1.1rem;
}

/* --- Hero Section --- */
.hero-section {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 80vh;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #2d3436;
}

.highlight {
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: -5px;
  width: 105%;
  height: 15px;
  background: var(--secondary);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
  opacity: 0.6;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
  max-width: 90%;
}

/* Trust Avatars */
.trust-avatars {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar-group {
  display: flex;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid white;
  margin-left: -15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 0.8rem;
  color: #555;
}

.avatar:first-child {
  margin-left: 0;
}

/* Book Container */
.book-container {
  position: relative;
  width: 300px;
  height: 420px;
  margin: 0 auto;
  perspective: 1000px;
  transition: transform 0.1s;
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 20px 20px 8px;
  box-shadow:
    -2px 0 5px rgba(0, 0, 0, 0.1),
    /* Spine */ 15px 15px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.floating-badge {
  position: absolute;
  top: -20px;
  right: -30px;
  background: white;
  padding: 0.8rem 1.2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary);
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* --- Features Section --- */
.features-section {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 28px;
}

.icon-peach {
  background: rgba(255, 159, 104, 0.2);
  color: #e67e22;
}
.icon-purple {
  background: rgba(199, 206, 234, 0.4);
  color: #6c5ce7;
}
.icon-pink {
  background: rgba(255, 181, 167, 0.3);
  color: #d63031;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* --- Purchase Section --- */
.purchase-section {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  position: relative;
}

.purchase-card {
    padding: 1.8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.purchase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.offer-tag {
  background: #ff6b6b;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1rem;
}

.price-box {
    margin: 1rem 0;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.price-original {
    text-decoration: line-through;
    color: #B2BEC3;
    font-size: 1rem;
    margin-left: 0.5rem;
}

.input-group {
    text-align: left;
    margin-bottom: 1rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.flag-icon {
  position: absolute;
  left: 1rem;
  font-weight: 600;
  color: #555;
  pointer-events: none;
}

.purchase-form input {
  width: 100%;
  padding: 1rem 1rem 1rem 5.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  transition: all 0.2s;
}

.purchase-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 159, 104, 0.1);
}

/* Bonos Box */
.bonos-box {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe3e8 100%);
    border: 2px dashed #ff8fa3;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(255, 143, 163, 0.15);
    text-align: left;
    position: relative;
}

.bonos-label {
  background: #ff8fa3;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.85rem;
  display: inline-block;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(255, 143, 163, 0.3);
  z-index: 10;
}

.bonos-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 8px 0;
    font-size: 0.85rem;
    color: #4a4a4a;
}

.bonos-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 6px;
}

.bonos-item:last-child {
    margin-bottom: 0;
}

.bonos-emoji {
    font-size: 1rem;
    margin-right: 8px;
    line-height: 1.4;
    flex-shrink: 0;
}

.bonos-note {
    font-size: 0.75rem;
  color: #888;
  text-align: center;
  margin: 0;
  font-style: italic;
}

/* Trust Disclaimer */
.trust-disclaimer {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.trust-disclaimer .shield-icon {
    color: #10b981;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.trust-disclaimer p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}

.security-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #888;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.sm-icon {
  width: 16px;
  height: 16px;
  color: #00b894;
}

/* --- FAQ Section --- */
.faq-section {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

details.faq-item {
  cursor: pointer;
  transition: all 0.3s;
}

details.faq-item[open] {
  background: white;
}

summary {
  padding: 1.5rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 3rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
}

/* --- Animations --- */
[data-animate] {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}
[data-animate="fade-right"] {
  transform: translateX(-30px);
}
[data-animate="fade-left"] {
  transform: translateX(30px);
}
[data-animate="zoom-in"] {
  transform: scale(0.95);
}

.in-view {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .trust-avatars {
    justify-content: center;
  }

  .book-container {
    width: 240px;
    height: 340px;
  }

  .purchase-card {
    padding: 1.5rem;
  }
}
