/* =======================================================
   PSR COMPUTERS — PRODUCT PAGE (Maroon Professional Theme)
   ======================================================= */

/* Font Imports (same as main site) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');



/* =========================================
   HERO SECTION
========================================= */
.paysoft-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 80px 6%;
  background: linear-gradient(135deg, #fdfbfb, #f3e8eb);
  border-bottom: 1px solid rgba(90, 15, 34, 0.1);
}
.paysoft-hero .left {
  flex: 1 1 420px;
  max-width: 640px;
}
.paysoft-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-style: italic;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  line-height: 1.15; 
  font-family: 'Playfair Display', serif;
}
.paysoft-hero .tagline {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 18px;
  font-family: 'Playfair Display', serif; 
  
  max-width: 580px !important; 
   line-height: 1.38 !important; 
  display: block;
  text-align: left;
  white-space: normal;
   hyphens: auto;
     word-break: normal;
     
}
.paysoft-hero p.lead {
 font-size: 1.15rem;
  color: var(--text-soft);
  margin-bottom: 26px;
  line-height: 1.75;           /* Cleaner spacing */
  text-align: justify;         /* Perfect aligned para */
  text-justify: inter-word;
  max-width: 620px;
  hyphens: none;
  word-break: normal;
   max-width: 620px !important;
   overflow-wrap: break-word;
   font-family: 'Outfit', sans-serif; 
 
}
.paysoft-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
  padding: 12px 26px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(90, 15, 34, 0.25);
}
.btn-primary:hover {
  background: #7c1430;
  box-shadow: 0 12px 28px rgba(90, 15, 34, 0.3);
}
.btn-ghost {
  border: 1px solid rgba(90, 15, 34, 0.25);
  color: var(--primary);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(90, 15, 34, 0.07);
  box-shadow: 0 0 8px rgba(90, 15, 34, 0.15);
}

/* =========================================
   IMAGE CAROUSEL
========================================= */
.carousel-wrap {
  flex: 1 1 640px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.3, 1);
}
.slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.slide:hover img {
  transform: scale(1.02);
}
.slide::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(90, 15, 34, 0.9);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
}
.slide:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Dots */
.dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(90, 15, 34, 0.25);
  transition: all 0.2s ease;
}
.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* =========================================
   FEATURES SECTION
========================================= */
.features {
  padding: 80px 6%;
  background: var(--section-bg);
  
}
.features h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 40px;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ✅ Centers the last row */
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  
}

.feature {
  flex: 1 1 220px;  /* Minimum width 260px */
  max-width: 280px; /* Prevent too wide cards */
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
   font-family: 'Outfit', sans-serif; 
  
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.feature h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.15rem;
  line-height: 1.3;
  text-align: center;
  font-family: 'Playfair Display', serif;
}
.feature p {
  color: #444;
  line-height: 1.4;
  text-align: center;
  text-justify: inter-word;
  font-size: 1.1rem;
}
.features h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 40px;
  font-style: italic;
  font-family: 'Playfair Display', serif;

  text-decoration: underline;           /* <-- add this */
  text-decoration-color: var(--primary-dark); /* <-- same color */
  text-underline-offset: 6px;           /* better spacing from text */
}


/* =========================================
   CTA SECTION (Maroon Themed)
========================================= */
.cta {
  position: relative;
  padding: 90px 8%;
  background: linear-gradient(135deg, #67132a 0%, #5a0f22 100%);
  text-align: center;
  color: #fff;
  overflow: hidden;
 
}

/* Glowing Divider Line above footer */
.cta::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), #a01b3f, rgba(255,255,255,0.1));
  box-shadow: 0 0 15px #a01b3f;
  animation: glowLine 3s linear infinite;
}

@keyframes glowLine {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.cta-box {
  background: rgba(255, 255, 255, 0.08);
  padding: 60px 40px;
  border-radius: 20px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
}

.cta-box h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
  font-family: 'Playfair Display', serif;
}

.cta-box p {
  max-width: 720px;
  margin: 0 auto 25px;
  line-height: 1.7;
  color: #f3e7ea;
  font-family: 'Outfit', sans-serif; 
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-btn {
  border-radius: 50px;
  padding: 12px 36px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cta-btn.primary {
  background: #fff;
  color: #5a0f22;
}
.cta-btn.primary:hover {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

.cta-btn.secondary {
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
}
.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* =========================================
   DEMO MODAL (Maroon Themed + Fixed Text)
========================================= */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.modal.open {
  display: flex;
}

.backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.modal-box {
  position: relative;
  background: rgba(155, 86, 103, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  color: #fff;
  z-index: 10;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  opacity: 0;
  animation: modalFade 0.4s ease forwards;
}

@keyframes modalFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 8px;
  color: #fff;
}

.modal-subtitle {
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 25px;
  color: #f7dfe3;
}

/* === Input Fields === */
.input-group {
  margin-bottom: 18px;
}
label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
    color: #e0e0e0;
}
input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.95rem;
  resize: none;
}
input:focus,
textarea:focus {
  border-color: #a01b3f;
  background: rgba(255, 255, 255, 0.25);
}
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

/* === Buttons === */
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.btn {
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn.cancel {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.btn.cancel:hover {
  background: rgba(255, 255, 255, 0.3);
}
.btn.send {
  background: linear-gradient(135deg, #5a0f22, #7c1430);
  color: #fff;
  box-shadow: 0 0 15px rgba(122, 20, 48, 0.5);
}
.btn.send:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(122, 20, 48, 0.8);
}

/* === Close Icon === */
.close-x {
  position: absolute;
  top: 12px;
  right: 18px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.close-x:hover {
  color: #a01b3f;
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Disable scroll when modal open */
body.no-scroll {
  overflow: hidden;
}

/* === Mobile Responsive === */
@media (max-width: 480px) {
  .modal-box { padding: 25px; }
  .modal-title { font-size: 1.5rem; }
}






/* =========================================
   LIGHTBOX (Professional, Responsive)
   Theme: Maroon PSR (#5a0f22)
========================================= */

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
  z-index: 10000;
  overflow: hidden;
}

.lightbox.open {
  display: flex;
  animation: fadeIn 0.35s ease;
}

/* Overlay behind everything */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* Lightbox Container */
.lb-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 10;
  padding: 0 50px;
}

/* Centered Image */
.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
  background: #111;
  animation: zoomIn 0.4s ease;
}

/* Navigation Buttons */
.lb-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(5px);
}

.lb-btn:hover {
  background: #5a0f22;
  border-color: #7c1430;
  box-shadow: 0 0 15px rgba(122, 20, 48, 0.7);
  transform: scale(1.08);
}

.lb-prev {
  position: absolute;
  left: 25px;
}

.lb-next {
  position: absolute;
  right: 25px;
}

/* Close Button */
.lb-close {
  position: absolute;
  top: 25px;
  right: 30px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  z-index: 20;
}
.lb-close:hover {
  background: #5a0f22;
  border-color: #7c1430;
  box-shadow: 0 0 15px rgba(90, 15, 34, 0.7);
  transform: rotate(90deg);
}

/* Animations */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .lb-btn {
    font-size: 1.6rem;
    width: 42px;
    height: 42px;
  }

  .lb-prev { left: 15px; }
  .lb-next { right: 15px; }

  .lb-close {
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
  }

  .lightbox img {
    max-width: 94vw;
    max-height: 85vh;
  }
}



