/* product.css - High converting product page enhancements */

/* Hero Enhancements */
.product-hero {
  position: relative;
  overflow: hidden;
}

.product-hero-bg-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(244, 239, 231, 0.05) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cow-border);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cow-text);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #4ade80; /* success green */
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem) !important;
  line-height: 1 !important;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, #a8a094 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  text-shadow: 0px 4px 32px rgba(255,255,255,0.08); /* Glow effect */
}

.cta-button {
  position: relative;
  font-size: 1.15rem !important;
  padding: 1.1rem 2.8rem !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #f4efe7 0%, #d4cbc0 100%) !important;
  color: #1a1815 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  letter-spacing: -0.01em;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02) !important;
  background: linear-gradient(135deg, #ffffff 0%, #e8e2d8 100%) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

.product-cta-card {
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%), rgba(255, 255, 255, 0.015) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.cta-bullets {
  gap: 12px 16px !important;
}
.cta-bullets li {
  font-size: 0.95rem !important;
  color: var(--cow-text) !important;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.cta-bullets li::before {
  color: #4ade80 !important;
  font-size: 1.1rem !important;
}

.button.secondary {
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}
.button.secondary:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--cow-text) !important;
  border-color: var(--cow-border-soft) !important;
}

/* Card Enhancements */
.product-card, .product-mockup-card, .principle-card, .product-cta-card, .faq-item {
  background: rgba(255, 255, 255, 0.015) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 16px !important;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
  border: 1px solid var(--cow-border) !important;
}

.product-card:hover, .principle-card:hover {
  transform: translateY(-4px) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: var(--cow-border-soft) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.product-card {
  padding: 32px !important;
}

.feature-icon {
  margin-bottom: 1.25rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: var(--cow-text);
  border: 1px solid var(--cow-border);
}

.feature-card {
  display: flex;
  flex-direction: column;
}

/* Check/Cross Lists */
.list.check-list, .list.cross-list {
  list-style: none !important;
  padding-left: 0 !important;
}
.list.check-list li, .list.cross-list li {
  display: block;
  position: relative;
  padding-left: 32px;
  margin-top: 12px !important;
}
.list.check-list li::before, .list.cross-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}
.list.check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}
.list.cross-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f87171' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

/* Mockup Enhancements */
.product-mockup-card {
  box-shadow: 0 32px 64px rgba(0,0,0,0.4) !important;
  border: 1px solid var(--cow-border-soft) !important;
  overflow: hidden;
  border-radius: 20px !important;
}
.product-mockup-card img {
  transform: scale(1.01);
  transition: transform 0.5s ease;
}
.product-mockup-card:hover img {
  transform: scale(1.03);
}

/* Details based FAQ */
.faq-details {
  border: 1px solid var(--cow-border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.02);
  transition: all 0.2s ease;
}
.faq-details:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--cow-border-soft);
}
.faq-summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cow-text);
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--cow-muted);
  transition: transform 0.3s;
}
.faq-details[open] .faq-summary::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-details p {
  padding: 0 24px 24px 24px;
  margin: 0;
  color: var(--cow-muted);
  line-height: 1.7;
  font-size: 1.05rem;
  animation: fadeDown 0.3s ease-in-out;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Book Section Enhancements */
.book-cover-wrap {
  position: relative;
  perspective: 1000px;
}
.book-cover-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(to top right, rgba(153, 246, 228, 0.15), rgba(251, 207, 232, 0.15));
  filter: blur(20px);
  border-radius: 12px;
  transition: opacity 0.3s ease;
  opacity: 0.5;
  z-index: 0;
}
.book-cover-wrap:hover .book-cover-glow {
  opacity: 0.8;
}
.book-cover-img {
  position: relative;
  z-index: 10;
  width: 220px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .book-cover-img {
    width: 260px;
  }
}
.book-cover-wrap:hover .book-cover-img {
  transform: translateY(-8px) rotate(2deg);
}

.book-quote-box {
  padding: 24px;
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid var(--cow-border);
  border-radius: 12px;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.book-quote-stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--cow-accent), transparent);
}
.book-quote-text {
  font-size: 0.95rem;
  color: var(--cow-text);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  font-weight: 500;
}
/* Typography Overrides */
.text-accent {
  color: var(--cow-text) !important; /* Muted accent to white */
  font-weight: 700;
}

.text-fg {
  color: #fff !important;
}

/* Margin utilities */
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.text-lg { font-size: 1.125rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.font-medium { font-weight: 500; }

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem) !important;
  }
}
