/* ====================================================
   🚀 Get Paid PAGE STYLES
   ==================================================== */

/* Prevent horizontal overflow */
body {
  overflow-x: hidden;
  max-width: 100vw;
}

.container {
  max-width: 100%;
  overflow-x: visible;
}

/* Get Paid Hero Section */
.signup-hero {
  padding: 6rem 0;
  /* background: #f5f7fa; */
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.signup-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 100%;
  overflow-x: visible;
}

/* Left Side - Text Content */
.signup-text {
  max-width: 500px;
}

.signup-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #333;
}

.black-text {
  color: #333;
}

.signup-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 2rem;
}

.signup-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: #ff7800;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 120, 0, 0.3);
}

.btn-primary:hover {
  background: #e06700;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 120, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: #333;
  border: 2px solid #333;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #333;
  color: #312d2d;
  transform: translateY(-2px);
}

/* Right Side - Image with Overlay - Cleaned */
.signup-image {
  position: relative;
  overflow: visible;
  max-width: 100%;
  margin-left: -20px;
}

.scan-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: #6c757d;
  margin-bottom: 1.2rem;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
}

.image-container {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  margin: 0;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 110%;
  display: flex;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
  border: 2px solid #dee2e6;
}

/* Camera Corner Brackets */
.image-container::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 35px;
  height: 35px;
  border-top: 3px solid #495057;
  border-left: 3px solid #495057;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.image-container::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 35px;
  height: 35px;
  border-bottom: 3px solid #495057;
  border-right: 3px solid #495057;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* Additional camera corner brackets for other corners */
.image-container .qr-corner-top-right {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 35px;
  height: 35px;
  border-top: 3px solid #495057;
  border-right: 3px solid #495057;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.image-container .qr-corner-bottom-left {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 35px;
  height: 35px;
  border-bottom: 3px solid #495057;
  border-left: 3px solid #495057;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.image-container:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.image-container:hover::before,
.image-container:hover::after,
.image-container:hover .qr-corner-top-right,
.image-container:hover .qr-corner-bottom-left {
  opacity: 0;
}

.image-container img {
  width: 110%;
  height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  margin: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  filter: brightness(1.05) contrast(1.1);
}

/* Payment Success Animation */
.payment-success {
  position: absolute;
  top: 10%;
  right: 5%;
  transform: translate(0, 0);
  background: rgba(34, 197, 94, 0.95);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
  z-index: 10;
}

.payment-success::before {
  content: "✓";
  font-size: 16px;
  font-weight: bold;
}

.image-container:hover .payment-success {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: slideInFromPhone 0.6s ease forwards;
}

@keyframes slideInFromPhone {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-100px) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0) scale(1);
  }
}

.image-overlay {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 120, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 16px;
  color: white;
  max-width: 280px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.overlay-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.overlay-subtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.overlay-stores {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.store-link img {
  height: 40px;
  width: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.store-link:hover img {
  transform: scale(1.05);
}

/* Signup Steps Section */
.signup-steps {
  padding: 6rem 0;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #222;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  background: #ff7800;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #222;
}

.step-content p {
  color: #333;
  line-height: 1.5;
}

/* Signup Features Section */
.signup-features {
  padding: 6rem 0;
  background: #f5f7fa;
}

.features-grid-signup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 120, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: #ff7800;
}

.feature-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #222;
}

.feature-item p {
  color: #fff;
  line-height: 1.5;
}

/* Features Overview Section - Landscape Version */
.features-overview {
  padding: 1.2rem 0;
  background: #444;
}

.features-overview .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.feature-item {
  flex: 0 0 auto;
  width: 250px; /* Adjust based on design */
  text-align: center;
  padding: 1rem;
}

.feature-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.feature-subtitle {
  font-size: 1rem;
  color: #fff;
  font-weight: 400;
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
  .signup-hero {
    padding: 4rem 0;
  }

  .signup-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .signup-title {
    font-size: 2.5rem;
  }

  .signup-buttons {
    justify-content: center;
  }

  .image-overlay {
    position: static;
    margin-top: 2rem;
    max-width: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .feature-title {
    font-size: 2rem;
  }

  .features-overview {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .signup-hero {
    padding: 3rem 0;
  }

  .signup-title {
    font-size: 2rem;
  }

  .signup-description {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-outline {
    padding: 0.875rem 1.5rem;
    width: 100%;
    text-align: center;
  }

  .image-container img {
    height: 300px;
  }

  .overlay-title {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .feature-title {
    font-size: 1.75rem;
  }

  .feature-subtitle {
    font-size: 0.9rem;
  }

  /* Intuitive Insights Section */
  .insights-section {
    padding: 4rem 0;
    background: #fff;
  }

  .insights-section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .insights-title {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 48px;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #222;
    line-height: 1.2;
  }

  .insights-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
  }

  /* New Grid Layout */
  .insights-grid {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
  }

  /* Mobile gap reduction */
  @media (max-width: 768px) {
    .insights-grid {
      gap: 0.75rem;
    }
  }

  @media (max-width: 480px) {
    .insights-grid {
      gap: 0.5rem;
    }
  }

  @media (max-width: 360px) {
    .insights-grid {
      gap: 0.25rem;
    }
  }

  .insights-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 350px;
    flex: 1;
    min-width: 300px;
    text-align: center;
  }

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

  .card-icon {
    margin-bottom: 1.5rem;
  }

  .card-image {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .dashboard-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .dashboard-image:hover {
    transform: scale(1.05);
  }

  .icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff7800, #e06700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(255, 120, 0, 0.3);
  }

  .icon-circle i {
    font-size: 2rem;
    color: white;
  }

  .verify-icon {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  }

  .verify-icon i {
    color: #ff7800;
  }

  .transaction-icon {
    background: linear-gradient(135deg, #ff7800, #e06700);
  }

  .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .card-content h3 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .card-content p {
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
  }

  .card-footer {
    margin-top: auto;
  }

  .app-store-icons,
  .verification-icons,
  .payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
  }

  .app-store-icons img {
    height: 30px;
    width: auto;
  }

  .verification-icons i,
  .payment-methods i {
    font-size: 1.2rem;
    color: #ff7800;
  }

  /* Section Logo Styling */
  .section-logo {
    text-align: center;
    margin-bottom: 2rem;
  }

  .zakpay-section-logo {
    height: 60px;
    width: auto;
    margin: 0 auto;
  }

  .card-logo {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }

  .zakpay-logo {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ff7800, #e06700);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 6px 20px rgba(255, 120, 0, 0.4);
    transition: all 0.3s ease;
  }

  .insights-card:hover .zakpay-logo {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 120, 0, 0.5);
  }

  .insights-cards-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .insights-section {
      padding: 4rem 0;
    }

    .insights-title {
      font-size: 2rem;
    }

    .insights-subtitle {
      font-size: 1rem;
      margin-bottom: 2rem;
    }

    .insights-grid {
      flex-direction: column;
      gap: 2rem;
    }

    .insights-card {
      max-width: 100%;
      min-width: auto;
    }
  }

  @media (max-width: 480px) {
    .insights-section {
      padding: 3rem 0;
    }

    .insights-title {
      font-size: 1.75rem;
    }

    .insights-subtitle {
      font-size: 0.9rem;
    }

    .insights-card {
      padding: 1rem;
    }

    .zakpay-logo {
      width: 35px;
      height: 35px;
      font-size: 1rem;
    }
  }
}

/* ====================================================
   🛒 QR STAND ORDER MODAL
   ==================================================== */
.qr-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.qr-modal-content {
  background-color: #fff;
  margin: 2% auto;
  padding: 2rem;
  border-radius: 18px;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.qr-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  margin-top: -1rem;
  margin-right: -1rem;
  transition: color 0.3s ease;
}

.qr-close:hover {
  color: #ff7800;
}

.qr-modal-content h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.qr-modal-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.qr-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.qr-product {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.qr-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: #ff7800;
}

.qr-product-image {
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.qr-product-image img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-product-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
  text-align: center;
}

.qr-product-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: center;
}

.qr-product-features {
  margin-bottom: 1.5rem;
}

.qr-product-features span {
  display: block;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.qr-product-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff7800;
}

.qr-order-btn {
  background: #ff7800;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.qr-order-btn:hover {
  background: #e06700;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 120, 0, 0.3);
}

.qr-modal-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  margin-top: 1.5rem;
}

.qr-modal-footer p {
  color: #333;
  font-size: 0.9rem;
}

.qr-modal-footer a {
  color: #ff7800;
  text-decoration: none;
  font-weight: 600;
}

.qr-modal-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .qr-modal-content {
    margin: 5% auto;
    padding: 1.5rem;
    width: 95%;
  }
  
  .qr-products {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .qr-product-price {
    flex-direction: column;
    align-items: center;
  }
  
  .qr-modal-content h2 {
    font-size: 1.5rem;
  }
}

/* ====================================================
   📚 INTEGRATION GUIDE MODAL
   ==================================================== */
.integration-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.integration-modal-content {
  background-color: #fff;
  margin: 2% auto;
  padding: 2rem;
  border-radius: 18px;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.integration-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  margin-top: -1rem;
  margin-right: -1rem;
  transition: color 0.3s ease;
}

.integration-close:hover {
  color: #ff7800;
}

.integration-modal-content h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.integration-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.integration-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #ff7800;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
  background: #ff7800;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.step-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.step-actions .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.step-actions .btn-primary {
  background: #ff7800;
  color: white;
}

.step-actions .btn-primary:hover {
  background: #e06700;
  transform: translateY(-2px);
}

.step-actions .btn-outline {
  background: transparent;
  color: #333;
  border: 2px solid #333;
}

.step-actions .btn-outline:hover {
  background: #333;
  color: white;
}

.step-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-features li {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.qr-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.qr-type {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.qr-type h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.3rem;
}

.qr-type p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.display-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.display-options span {
  background: rgba(255, 120, 0, 0.1);
  color: #ff7800;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.integration-code {
  background: #2d3748;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.4;
  overflow-x: auto;
}

.integration-code h4 {
  color: #ff7800;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.integration-code pre {
  margin: 0;
}

.integration-code code {
  color: #e2e8f0;
}

.deployment-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.deployment-steps span {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.integration-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  margin-top: 1.5rem;
}

.integration-footer p {
  color: #666;
  font-size: 0.9rem;
}

.integration-footer a {
  color: #ff7800;
  text-decoration: none;
  font-weight: 600;
}

.integration-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .integration-modal-content {
    margin: 5% auto;
    padding: 1.5rem;
    width: 95%;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    align-self: center;
  }
  
  .qr-types {
    grid-template-columns: 1fr;
  }
  
  .integration-modal-content h2 {
    font-size: 1.5rem;
  }
  
  .step-actions {
    justify-content: center;
  }
}

/* Mobile Animation Support */
@media (max-width: 768px) {
  .image-container {
    /* Ensure animations work on mobile */
    transform: none;
    transition: all 0.4s ease;
  }
  
  .image-container:hover .payment-success {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: slideInFromPhone 0.6s ease forwards;
  }
  
  .image-container:hover img {
    transform: scale(1.05);
  }
  
  /* Touch-friendly hover alternatives for mobile */
  .image-container:active .payment-success {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: slideInFromPhone 0.6s ease forwards;
  }
  
  .image-container:active img {
    transform: scale(1.05);
  }
  
  /* Mobile active state for touch interactions */
  .image-container.mobile-active .payment-success {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1) !important;
    animation: slideInFromPhone 0.6s ease forwards !important;
  }
  
  .image-container.mobile-active img {
    transform: scale(1.05) !important;
  }
}

/* ============================
     📄 TERMS OF SERVICE MODAL
   ============================ */

/* Terms text content styling */
.terms-text-content {
  display: none !important; /* Hidden by default - force hide */
  padding: 1rem;
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
}

.terms-text-content h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.terms-text-content h4 {
  color: #ff7800;
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem 0;
  font-weight: 600;
}

.terms-text-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.terms-text-content a {
  color: #ff7800;
  text-decoration: none;
  font-weight: 500;
}

.terms-text-content a:hover {
  text-decoration: underline;
}

/* Mobile-specific terms styling */
@media (max-width: 768px) {
  .terms-text-content {
    padding: 0.75rem;
    max-height: 350px;
  }
  
  .terms-text-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }
  
  .terms-text-content h4 {
    font-size: 1rem;
    margin: 1.25rem 0 0.5rem 0;
  }
  
  .terms-text-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }
}

/* PDF viewer desktop only */
.pdf-viewer-desktop {
  display: none !important; /* Hidden by default - force hide */
}

/* Force show when needed */
.terms-text-content.show {
  display: block !important;
}

.pdf-viewer-desktop.show {
  display: block !important;
}
