/* CSS Reset & Variables */
:root {
  --color-bg: #FDFBF7;
  --color-primary: #7C4015;
  --color-primary-light: #F7EFE5;
  --color-accent: #E5A85C;
  --color-text-dark: #3E2312;
  --color-text-muted: #6B5546;
  --color-green: #5B6E4E;
  --color-green-light: #EBF0E8;
  --border-color: #EADFD0;
  
  /* WhatsApp specific variables */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #20BA5A;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-script: 'Caveat', cursive;
  
  --shadow-sm: 0 4px 10px rgba(124, 64, 21, 0.05);
  --shadow-md: 0 8px 24px rgba(124, 64, 21, 0.08);
  --shadow-lg: 0 16px 36px rgba(124, 64, 21, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: #F8F3EC;
  color: var(--color-text-dark);
  font-family: var(--font-sans);
  line-height: 1.5;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Page Container */
.page-container {
  background-color: var(--color-bg);
  width: 100%;
  max-width: 680px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124, 64, 21, 0.05);
}

/* Hero Section */
.hero-section {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
}

.hero-subtitle-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.hero-subtitle {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--color-primary);
  line-height: 1;
  transform: rotate(-3deg);
  display: inline-block;
}

.heart-doodle {
  opacity: 0.85;
  transform: translateY(-5px);
  animation: float 3s ease-in-out infinite;
}

.underline-doodle {
  position: absolute;
  bottom: -10px;
  left: 0;
  opacity: 0.8;
}

.key-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1rem;
  background-color: var(--color-primary-light);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateX(5px);
  background-color: #FFFDF9;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.feature-icon-wrapper {
  background-color: var(--color-primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon {
  width: 16px;
  height: 16px;
}

.feature-text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.2;
}

.feature-text p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.hero-image-wrapper {
  flex: 0.9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.hero-image-wrapper:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

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

/* Products Section */
.products-section {
  background-color: #FCFAF5;
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.section-badge-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: -2.25rem;
}

.section-badge {
  background-color: var(--color-primary);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.leaf-left, .leaf-right {
  opacity: 0.85;
  animation: sway 4s ease-in-out infinite alternate;
}

.leaf-right {
  animation-delay: -2s;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  cursor: pointer;
}

.product-image-frame {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background-color: white;
}

.product-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image-frame {
  border-color: var(--color-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-card:hover .product-image-frame img {
  transform: scale(1.1);
}

.product-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.25;
}

/* Income & Supplies Section */
.income-supplies-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.income-details {
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  background-color: #FCFAF6;
}

.badge-accent {
  background-color: var(--color-primary);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: white;
  background-color: var(--color-primary);
  border-radius: 50%;
  padding: 3px;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-list span {
  font-size: 0.9rem;
  color: var(--color-text-dark);
  line-height: 1.4;
}

.highlight-text {
  color: var(--color-primary);
  font-weight: 700;
}

.supplies-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.supplies-container:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-md);
}

.supplies-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.supplies-sticky-note {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: #FFF7EC;
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.85rem 0.65rem 0.85rem;
  border-radius: 12px;
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: var(--color-primary);
  line-height: 1.1;
  box-shadow: var(--shadow-sm);
  transform: rotate(-1.5deg);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 80%;
  pointer-events: none;
}

.heart-mini {
  flex-shrink: 0;
  display: inline-block;
}

/* Job Requirements Section */
.requirements-section {
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background-color: #FCFAF6;
  position: relative;
}

.section-title-badge {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
  color: white;
}

.green-badge {
  background-color: var(--color-green);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.req-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.5rem 0.25rem;
}

.req-icon-wrapper {
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: var(--transition);
}

.req-item:hover .req-icon-wrapper {
  transform: scale(1.1);
  color: var(--color-green);
}

.req-icon {
  width: 24px;
  height: 24px;
}

.req-text h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.25;
}

.req-subtext {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
}

/* Footer & Button Call-to-Action */
.footer-section {
  display: flex;
  justify-content: center;
}

.cta-button {
  background-color: var(--color-primary);
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  width: 100%;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 2px solid transparent;
}

/* WhatsApp Specific Button Modifications */
.cta-button.cta-whatsapp {
  background-color: var(--color-whatsapp);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  animation: pulse-green 2.5s infinite;
}

.cta-button.cta-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.cta-button.cta-whatsapp .cta-icon-wrapper {
  background-color: white;
  color: var(--color-whatsapp);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cta-button.cta-whatsapp:hover .cta-icon-wrapper {
  color: var(--color-whatsapp-dark);
  transform: scale(1.1) rotate(10deg);
}

.cta-button:active {
  transform: translateY(1px);
}

.cta-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.cta-text {
  letter-spacing: 0.01em;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(-5px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

@keyframes sway {
  0% { transform: rotate(-3deg); }
  100% { transform: rotate(3deg); }
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive / Mobile Design */
@media (max-width: 600px) {
  body {
    padding: 1rem 0.5rem;
  }
  
  .page-container {
    padding: 1.5rem 1.2rem;
    gap: 1.8rem;
    border-radius: 16px;
  }
  
  .hero-section {
    flex-direction: column-reverse;
    gap: 1.5rem;
  }
  
  .hero-image-wrapper {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1.2 / 1;
  }
  
  .hero-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .hero-subtitle-container {
    align-self: center;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
  }
  
  .income-supplies-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .supplies-container {
    aspect-ratio: 1.5 / 1;
  }
  
  .requirements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .cta-button {
    font-size: 1.05rem;
    padding: 0.85rem 1.25rem;
  }
  
  .cta-button.cta-whatsapp .cta-icon-wrapper {
    width: 30px;
    height: 30px;
  }
  
  .cta-icon {
    width: 16px;
    height: 16px;
  }
}
