/* === BonPapi Pack Template v2 – Unified Stylesheet === */

/* Base Typography & Layout */
body {
  font-family: "Poppins", sans-serif;
  color: #222;
  line-height: 1.6;
  background: #fff;
}
section {
  padding: 4rem 1rem;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
h1, h2, h3 {
  color: #111;
  margin-bottom: 1rem;
  font-weight: 600;
}
.subtitle {
  color: #555;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

/* Buttons / CTAs */
.cta {
  display: inline-block;
  background: #f97316;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cta:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.cta.large {
  font-size: 1.2rem;
  padding: 1rem 2rem;
}

/* Hero Section */
.pack-pro-hero {
  background: linear-gradient(to right, #f97316, #fb923c);
  color: #fff;
  text-align: center;
  padding: 5rem 1rem;
  border-radius: 0 0 40px 40px;
}
.pack-pro-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.pack-pro-hero .cta {
  background: #fff;
  color: #f97316;
  margin-top: 1rem;
}
.pack-pro-hero .cta:hover {
  background: #f1f1f1;
  color: #ea580c;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  text-align: left;
  margin-top: 2rem;
}
.feature {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.feature h3 {
  color: #f97316;
  font-weight: 600;
}

/* Pricing Section */
.pack-pro-pricing .price-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 480px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pack-pro-pricing .price-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.pack-pro-pricing .discount {
  color: #16a34a;
  font-weight: 600;
}

/* FAQ Section */
details {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
details:hover {
  box-shadow: 0 5px 14px rgba(0,0,0,0.08);
}
details summary {
  font-weight: 600;
  color: #f97316;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  list-style: none;
}
details[open] summary::after {
  content: "▲";
  float: right;
  font-size: 0.8rem;
  color: #555;
}
details summary::after {
  content: "▼";
  float: right;
  font-size: 0.8rem;
  color: #777;
}
details p {
  color: #333;
  margin-top: 0.5rem;
}

/* Call To Action Footer */
.pack-pro-cta {
  background: #111;
  color: #fff;
  border-radius: 40px;
  text-align: center;
  padding: 4rem 1rem;
}
.pack-pro-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* --- Responsive Enhancements (Legacy-Safe) --- */

/* Tablets (up to 1024px) */
@media screen and (max-width: 1024px) {
  .pack-pro-hero h1 { font-size: 2.1rem !important; }
  .subtitle { font-size: 1.1rem !important; }
  .features-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important; gap: 1.2rem !important; }
  .feature { padding: 1.2rem !important; }
  .cta.large { font-size: 1.1rem !important; padding: 0.9rem 1.5rem !important; }
  section { padding: 3rem 1.5rem !important; }
}

/* Phones (up to 768px) */
@media screen and (max-width: 768px) {
  .pack-pro-hero h1 { font-size: 1.8rem !important; }
  .subtitle { font-size: 1rem !important; }
  .features-grid { display: block !important; }
  .feature { margin-bottom: 1.5rem !important; }
  .cta.large { font-size: 1rem !important; padding: 0.8rem 1.2rem !important; }
  section { padding: 2.5rem 1rem !important; }
}

/* --- Optional Dark Mode --- */
@media (prefers-color-scheme: dark) {
  body {
    background: #111;
    color: #f3f3f3;
  }
  .feature,
  .pack-pro-pricing .price-box,
  details {
    background: #1b1b1b;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
  }
  details summary { color: #fb923c; }
  h1, h2, h3 { color: #fff; }
  .pack-pro-cta {
    background: #000;
    color: #fff;
  }
  .pack-pro-hero {
    background: linear-gradient(to right, #fb923c, #ea580c);
  }
  .cta {
    background: #fb923c;
    color: #fff;
  }
  .cta:hover {
    background: #f97316;
  }
}

/* === Contact Page Accent === */
.pack-pro-hero.contact {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
}
.pack-pro-hero.contact .cta {
  background: #fff;
  color: #2563eb;
}
.pack-pro-hero.contact .cta:hover {
  background: #e0e7ff;
  color: #1e3a8a;
}

/* Contact Form Styling */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #111;
}
.form-group input,
.form-group textarea {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 1rem;
  transition: border 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}
.full-width {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .full-width {
    grid-column: span 1;
  }
}

/* === BonPapi Contact Cards Fix === */
.pack-pro-details.contact-cards {
  background: transparent !important;
  position: relative;
  z-index: 2;
}

.pack-pro-details.contact-cards .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Force the card boxes to show again */
.pack-pro-details.contact-cards .feature {
  background: #1a1a1a !important; /* Deep dark for contrast with orange */
  color: #f1f1f1 !important;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 3;
}

/* Headings inside cards */
.pack-pro-details.contact-cards .feature h3 {
  color: #f97316 !important;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

/* Paragraph text */
.pack-pro-details.contact-cards .feature p,
.pack-pro-details.contact-cards .feature a {
  color: #e0e0e0 !important;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s ease;
}

.pack-pro-details.contact-cards .feature a:hover {
  color: #f97316 !important;
}

/* Subtle hover pop */
.pack-pro-details.contact-cards .feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.25);
  transition: all 0.3s ease;
}

/* Ensure Fluent Form CSS doesn’t override cards */
#fluentform_10,
#fluentform_10 * {
  isolation: isolate;
  z-index: 1;
}

