/**
 * Pricing Page Styles
 * Monetization UI Components
 * Version: 1.0.0
 */

/* ========================================
   PRICING HERO SECTION
   ======================================== */

.pricing-hero {
  text-align: center;
  padding: 60px 20px 40px;
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
  color: white;
}

.pricing-hero h1 {
  font-size: 3em;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Billing Toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.toggle-label {
  font-size: 1.1em;
  font-weight: 600;
}

#annual-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.save-badge {
  background: #f9a825;
  color: #000000;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: 700;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.3);
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: '';
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #f9a825;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* ========================================
   PRICING CARDS
   ======================================== */

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: -40px auto 60px;
  padding: 0 20px;
}

.pricing-card {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border-color: #4caf50;
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.08) translateY(-5px);
}

.plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #2e7d32;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
}

.plan-badge.recommended {
  background: #ffc107;
  color: #1b5e20;
}

.pricing-card h2 {
  font-size: 2em;
  margin: 20px 0 15px;
  color: #1b5e20;
}

.plan-price {
  margin: 20px 0;
}

.price-amount {
  font-size: 3.5em;
  font-weight: 700;
  color: #1b5e20;
}

.price-period {
  font-size: 1.2em;
  color: #666;
}

.plan-description {
  color: #555;
  margin-bottom: 25px;
  min-height: 48px;
}

.savings-badge {
  background: #ffe082;
  color: #e65100;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.9em;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

/* Plan Features */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  text-align: left;
}

.plan-features li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1em;
  line-height: 1.5;
}

.plan-features li:last-child {
  border-bottom: none;
}

.feature-included {
  color: #2e7d32;
}

.feature-excluded {
  color: #999;
}

/* Plan Buttons */
.btn-plan {
  display: block;
  width: 100%;
  padding: 15px 25px;
  font-size: 1.1em;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 20px;
}

.btn-free {
  background: #f5f5f5;
  color: #333;
}

.btn-free:hover {
  background: #e0e0e0;
}

.btn-premium {
  background: #4caf50;
  color: white;
}

.btn-premium:hover {
  background: #2e7d32;
  transform: scale(1.02);
}

.btn-annual {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #1b5e20;
}

.btn-annual:hover {
  background: linear-gradient(135deg, #ffb300 0%, #ff8f00 100%);
  transform: scale(1.02);
}

.plan-note {
  text-align: center;
  color: #666;
  font-size: 0.9em;
  margin-top: 10px;
}

/* ========================================
   FEATURE COMPARISON TABLE
   ======================================== */

.feature-comparison {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.feature-comparison h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #1b5e20;
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
  background: #4caf50;
  color: white;
  padding: 20px;
  font-size: 1.2em;
  text-align: center;
}

.comparison-table th.feature-name {
  text-align: left;
}

.comparison-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table tr.category-header td {
  background: #f5f5f5;
  font-weight: 700;
  color: #1b5e20;
  padding: 12px 20px;
}

.comparison-table tr:hover {
  background: #f9f9f9;
}

.comparison-table tr.category-header:hover {
  background: #f5f5f5;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.pricing-faq {
  background: #f9f9f9;
  padding: 80px 20px;
}

.pricing-faq h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #1b5e20;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.faq-item h3 {
  color: #2e7d32;
  font-size: 1.3em;
  margin-bottom: 12px;
}

.faq-item p {
  color: #555;
  line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */

.pricing-cta {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.8em;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn-cta {
  background: #ffc107;
  color: #1b5e20;
  padding: 18px 40px;
  font-size: 1.3em;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #ffd54f;
  transform: scale(1.05);
}

.cta-note {
  margin-top: 15px;
  font-size: 0.95em;
  opacity: 0.9;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.pricing-testimonials {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.pricing-testimonials h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #1b5e20;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.testimonial-text {
  color: #555;
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author strong {
  color: #1b5e20;
  font-size: 1.1em;
}

.testimonial-author span {
  color: #666;
  font-size: 0.95em;
  display: block;
  margin-top: 5px;
}

/* ========================================
   DONATION WIDGET STYLES
   ======================================== */

.donation-widget {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  padding: 40px;
  border-radius: 12px;
  margin: 40px 0;
  text-align: center;
}

.donation-container h3 {
  color: #1b5e20;
  font-size: 2em;
  margin-bottom: 15px;
}

.donation-container p {
  color: #2e7d32;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
}

.bmc-button-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffdd00;
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 221, 0, 0.3);
}

.bmc-button-large:hover {
  background: #ffed4e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 221, 0, 0.4);
}

.donation-note {
  margin-top: 15px;
  color: #1b5e20;
}

/* Floating Donation Button */
.floating-donation-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-donation-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.floating-donation-btn .bmc-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffdd00;
  color: #000000;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.floating-donation-btn .bmc-button:hover {
  background: #ffed4e;
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.floating-donation-btn img {
  height: 24px;
}

/* ========================================
   PREMIUM MODALS & PROMPTS
   ======================================== */

.premium-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.premium-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2em;
  cursor: pointer;
  color: #666;
  line-height: 1;
}

.close-modal:hover {
  color: #000;
}

.premium-modal-header {
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.premium-icon {
  font-size: 3em;
  display: block;
  margin-bottom: 10px;
}

.premium-modal-header h2 {
  margin: 0;
  font-size: 2em;
}

.premium-modal-body {
  padding: 30px;
}

.premium-features-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.premium-features-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #2e7d32;
  font-size: 1.05em;
}

.premium-price {
  text-align: center;
  margin: 20px 0;
  font-size: 1.2em;
}

.premium-modal-footer {
  padding: 0 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-trial,
.btn-upgrade,
.btn-cancel {
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
}

.btn-trial {
  background: #ffc107;
  color: #1b5e20;
}

.btn-trial:hover {
  background: #ffd54f;
}

.btn-upgrade {
  background: #4caf50;
  color: white;
  display: block;
}

.btn-upgrade:hover {
  background: #2e7d32;
}

.btn-cancel {
  background: #f5f5f5;
  color: #666;
}

.btn-cancel:hover {
  background: #e0e0e0;
}

/* Premium Lock Overlay */
.premium-lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: inherit;
}

.lock-content {
  text-align: center;
}

.lock-icon {
  font-size: 3em;
  display: block;
  margin-bottom: 15px;
}

.unlock-button {
  background: #4caf50;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.unlock-button:hover {
  background: #2e7d32;
  transform: scale(1.05);
}

/* Premium Badge (Header) */
.premium-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #1b5e20;
  padding: 8px 15px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95em;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE & TABLET OPTIMIZED
   ======================================== */

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
  .pricing-plans {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .pricing-card.featured {
    transform: scale(1.02);
  }

  .comparison-table {
    font-size: 0.95em;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 15px;
  }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
  /* Hero Section */
  .pricing-hero {
    padding: 40px 15px 30px;
  }

  .pricing-hero h1 {
    font-size: 2.2em;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.05em;
    line-height: 1.4;
  }

  /* Billing Toggle */
  .billing-toggle {
    flex-wrap: wrap;
    gap: 12px;
  }

  .toggle-label {
    font-size: 1em;
  }

  /* Pricing Cards */
  .pricing-plans {
    grid-template-columns: 1fr;
    margin-top: -20px;
    gap: 25px;
  }

  .pricing-card {
    padding: 35px 25px;
    max-width: 500px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.2);
  }

  .pricing-card.featured:hover {
    transform: translateY(-3px);
  }

  .pricing-card h2 {
    font-size: 1.8em;
  }

  .price-amount {
    font-size: 2.8em;
  }

  .price-period {
    font-size: 1.1em;
  }

  .plan-features li {
    padding: 10px 0;
    font-size: 0.95em;
  }

  /* Comparison Table */
  .feature-comparison {
    padding: 60px 15px;
  }

  .feature-comparison h2 {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .comparison-table {
    font-size: 0.9em;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }

  .comparison-table th.feature-name,
  .comparison-table td:first-child {
    font-size: 0.85em;
  }

  /* FAQ Section */
  .pricing-faq {
    padding: 60px 15px;
  }

  .pricing-faq h2 {
    font-size: 2em;
    margin-bottom: 35px;
  }

  .faq-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .faq-item h3 {
    font-size: 1.15em;
  }

  .faq-item p {
    font-size: 0.95em;
  }

  /* CTA Section */
  .pricing-cta {
    padding: 60px 15px;
  }

  .cta-content h2 {
    font-size: 2em;
  }

  .cta-content p {
    font-size: 1.05em;
  }

  .btn-cta {
    padding: 15px 30px;
    font-size: 1.15em;
  }

  /* Testimonials */
  .pricing-testimonials {
    padding: 60px 15px;
  }

  .pricing-testimonials h2 {
    font-size: 2em;
    margin-bottom: 35px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Donation Widgets */
  .donation-widget {
    padding: 30px 20px;
  }

  .donation-container h3 {
    font-size: 1.6em;
  }

  .floating-donation-btn {
    bottom: 15px;
    right: 15px;
  }

  .floating-donation-btn .bmc-button {
    padding: 10px 16px;
    font-size: 0.9em;
  }

  .floating-donation-btn img {
    height: 20px;
  }

  /* Premium Modal */
  .premium-modal-content {
    width: 95%;
    max-height: 85vh;
  }

  .premium-modal-header {
    padding: 25px 20px;
  }

  .premium-modal-header h2 {
    font-size: 1.6em;
  }

  .premium-modal-body {
    padding: 25px 20px;
  }

  .premium-modal-footer {
    padding: 0 20px 25px;
  }
}

/* Mobile Landscape (640px and below) */
@media (max-width: 640px) {
  .pricing-hero h1 {
    font-size: 1.9em;
  }

  .hero-subtitle {
    font-size: 1em;
  }

  .pricing-card {
    padding: 30px 20px;
  }

  .pricing-card h2 {
    font-size: 1.6em;
  }

  .price-amount {
    font-size: 2.5em;
  }

  .plan-features li {
    font-size: 0.9em;
    padding: 8px 0;
  }

  .btn-plan {
    font-size: 1em;
    padding: 14px 22px;
  }

  .feature-comparison h2,
  .pricing-faq h2,
  .pricing-testimonials h2 {
    font-size: 1.8em;
  }

  .cta-content h2 {
    font-size: 1.8em;
  }

  .btn-cta {
    font-size: 1.05em;
    padding: 14px 25px;
  }

  .faq-item h3 {
    font-size: 1.1em;
  }

  .testimonial-text {
    font-size: 0.95em;
  }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
  /* Hero Section */
  .pricing-hero {
    padding: 30px 10px 25px;
  }

  .pricing-hero h1 {
    font-size: 1.6em;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  /* Billing Toggle - Stack Vertically */
  .billing-toggle {
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
  }

  .toggle-label {
    font-size: 0.95em;
  }

  .save-badge {
    font-size: 0.8em;
    padding: 3px 8px;
  }

  /* Pricing Cards */
  .pricing-plans {
    padding: 0 10px;
    gap: 20px;
  }

  .pricing-card {
    padding: 25px 15px;
  }

  .plan-badge {
    font-size: 0.85em;
    padding: 6px 15px;
    top: -12px;
  }

  .pricing-card h2 {
    font-size: 1.5em;
    margin: 15px 0 12px;
  }

  .price-amount {
    font-size: 2.2em;
  }

  .price-period {
    font-size: 1em;
  }

  .plan-description {
    font-size: 0.9em;
    min-height: auto;
  }

  .savings-badge {
    font-size: 0.85em;
    padding: 6px 12px;
  }

  .plan-features li {
    font-size: 0.85em;
    padding: 7px 0;
    line-height: 1.4;
  }

  .btn-plan {
    font-size: 0.95em;
    padding: 12px 18px;
    margin-top: 15px;
  }

  .plan-note {
    font-size: 0.85em;
  }

  /* Comparison Table - Horizontal Scroll */
  .feature-comparison {
    padding: 40px 10px;
  }

  .feature-comparison h2 {
    font-size: 1.6em;
    margin-bottom: 25px;
  }

  .comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -10px;
    padding: 0 10px;
  }

  .comparison-table {
    min-width: 500px;
    font-size: 0.85em;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 8px 10px;
  }

  .comparison-table th {
    font-size: 0.9em;
  }

  /* FAQ Section */
  .pricing-faq {
    padding: 40px 10px;
  }

  .pricing-faq h2 {
    font-size: 1.6em;
    margin-bottom: 25px;
  }

  .faq-item {
    padding: 15px;
    margin-bottom: 12px;
  }

  .faq-item h3 {
    font-size: 1em;
    margin-bottom: 10px;
  }

  .faq-item p {
    font-size: 0.9em;
    line-height: 1.5;
  }

  /* CTA Section */
  .pricing-cta {
    padding: 40px 10px;
  }

  .cta-content h2 {
    font-size: 1.6em;
    margin-bottom: 15px;
  }

  .cta-content p {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  .btn-cta {
    font-size: 1em;
    padding: 12px 20px;
    width: 100%;
    max-width: 300px;
  }

  .cta-note {
    font-size: 0.85em;
  }

  /* Testimonials */
  .pricing-testimonials {
    padding: 40px 10px;
  }

  .pricing-testimonials h2 {
    font-size: 1.6em;
    margin-bottom: 25px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-rating {
    font-size: 1.3em;
    margin-bottom: 12px;
  }

  .testimonial-text {
    font-size: 0.9em;
    margin-bottom: 15px;
  }

  .testimonial-author strong {
    font-size: 1em;
  }

  .testimonial-author span {
    font-size: 0.85em;
  }

  /* Donation Widgets */
  .donation-widget {
    padding: 25px 15px;
    margin: 30px 0;
  }

  .donation-container h3 {
    font-size: 1.4em;
    margin-bottom: 12px;
  }

  .donation-container p {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .bmc-button-large {
    padding: 12px 20px;
    font-size: 1em;
    gap: 10px;
  }

  .bmc-button-large img {
    height: 32px;
  }

  .donation-note small {
    font-size: 0.85em;
  }

  /* Floating Donation Button */
  .floating-donation-btn {
    bottom: 10px;
    right: 10px;
  }

  .floating-donation-btn .bmc-button {
    padding: 8px 14px;
    font-size: 0.85em;
    gap: 8px;
    border-radius: 40px;
  }

  .floating-donation-btn img {
    height: 18px;
  }

  .floating-donation-btn .bmc-button span {
    display: none; /* Hide text on very small screens, show icon only */
  }

  /* Premium Modal - Full Screen on Mobile */
  .premium-modal-content {
    width: 100%;
    max-height: 95vh;
    border-radius: 12px 12px 0 0;
    align-self: flex-end;
  }

  .close-modal {
    font-size: 1.8em;
    top: 10px;
    right: 10px;
  }

  .premium-modal-header {
    padding: 20px 15px;
  }

  .premium-icon {
    font-size: 2.5em;
    margin-bottom: 8px;
  }

  .premium-modal-header h2 {
    font-size: 1.4em;
  }

  .premium-modal-body {
    padding: 20px 15px;
    font-size: 0.95em;
  }

  .premium-modal-body p {
    font-size: 0.95em;
  }

  .premium-features-list li {
    padding: 8px 0;
    font-size: 0.9em;
  }

  .premium-price {
    font-size: 1.05em;
    margin: 15px 0;
  }

  .premium-modal-footer {
    padding: 0 15px 20px;
    gap: 10px;
  }

  .btn-trial,
  .btn-upgrade,
  .btn-cancel {
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Premium Lock Overlay */
  .lock-content {
    padding: 15px;
  }

  .lock-icon {
    font-size: 2.5em;
    margin-bottom: 12px;
  }

  .lock-content p {
    font-size: 0.95em;
    margin-bottom: 12px;
  }

  .unlock-button {
    padding: 10px 20px;
    font-size: 1em;
  }

  /* Premium Badge */
  .premium-badge {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 0.85em;
  }

  .premium-badge .premium-icon {
    font-size: 1em;
  }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
  .pricing-hero h1 {
    font-size: 1.4em;
  }

  .price-amount {
    font-size: 2em;
  }

  .pricing-card {
    padding: 20px 12px;
  }

  .plan-features li {
    font-size: 0.8em;
  }

  .btn-plan {
    font-size: 0.9em;
    padding: 10px 15px;
  }

  .feature-comparison h2,
  .pricing-faq h2,
  .pricing-testimonials h2,
  .cta-content h2 {
    font-size: 1.4em;
  }

  .btn-cta {
    font-size: 0.95em;
    padding: 10px 18px;
  }

  .faq-item {
    padding: 12px;
  }

  .testimonial-card {
    padding: 15px;
  }
}

/* Landscape Orientation Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  .premium-modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }

  .pricing-hero {
    padding: 30px 20px 25px;
  }

  .pricing-hero h1 {
    font-size: 1.8em;
  }
}

/* Touch-Friendly Improvements */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets for mobile */
  .btn-plan,
  .btn-cta,
  .unlock-button,
  .btn-trial,
  .btn-upgrade,
  .btn-cancel {
    min-height: 44px; /* iOS recommendation */
    min-width: 44px;
  }

  .close-modal,
  .close-banner,
  .close-warning {
    min-width: 44px;
    min-height: 44px;
  }

  /* Remove hover effects on touch devices */
  .pricing-card:hover,
  .faq-item:hover,
  .testimonial-card:hover {
    transform: none;
  }

  /* Add active states for better feedback */
  .btn-plan:active,
  .btn-cta:active,
  .unlock-button:active {
    transform: scale(0.98);
    opacity: 0.9;
  }
}
