/* ==================================================================
   ABOUT US — Our Story + Our Vision
   ================================================================== */

.gpl-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 30px;
}

@media (max-width: 1023px) {
  .gpl-story-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.gpl-story-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.gpl-story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.1),
              0 4px 16px -4px rgba(1, 8, 105, 0.06);
  border-color: hsl(0 0% 0% / 0.12);
}

.gpl-story-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(1, 8, 105, 0.06);
  color: #010869;
  margin-bottom: 1.25rem;
}

.gpl-story-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.gpl-story-card__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.gpl-vision-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1023px) {
  .gpl-vision-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.gpl-vision-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgba(1, 8, 105, 0.08);
  color: #010869;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.gpl-vision-title {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .gpl-vision-title {
    font-size: 2.25rem;
  }
}

.gpl-vision-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.gpl-vision-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.gpl-vision-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: hsl(var(--foreground));
  line-height: 1.5;
}

.gpl-vision-list li svg {
  flex-shrink: 0;
  color: #010869;
  margin-top: 0.2rem;
}

.gpl-vision-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.15);
}

.gpl-vision-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==================================================================
   CONTACT US
   ================================================================== */

.gpl-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 1023px) {
  .gpl-contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.gpl-contact-heading {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.gpl-contact-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.gpl-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gpl-contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.gpl-contact-method__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(1, 8, 105, 0.06);
  color: #010869;
  flex-shrink: 0;
}

.gpl-contact-method__icon--whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.gpl-contact-method h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.gpl-contact-method p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* --- Animated Dots --- */
.gpl-support-form__dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 1rem;
}

.gpl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #010869;
  animation: gpl-dot-pulse 1.4s ease-in-out infinite;
}

.gpl-dot--2 { animation-delay: 0.2s; }
.gpl-dot--3 { animation-delay: 0.4s; }

@keyframes gpl-dot-pulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.1); }
}

/* --- Support Form --- */
.gpl-support-form {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 2rem;
}

.gpl-support-form__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  text-align: center;
}

.gpl-support-form__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.75rem;
  text-align: center;
}

.gpl-support-form__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.gpl-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.gpl-form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.gpl-required { color: #e53e3e; }
.gpl-optional { font-weight: 400; color: hsl(var(--muted-foreground)); font-size: 0.75rem; }

.gpl-form-group input,
.gpl-form-group select,
.gpl-form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  border: 1px solid hsl(var(--input, var(--border)));
  background: hsl(var(--background));
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  transition: border-color 0.2s ease;
}

.gpl-form-group input:focus,
.gpl-form-group select:focus,
.gpl-form-group textarea:focus {
  outline: none;
  border-color: #010869;
  box-shadow: 0 0 0 3px rgba(1, 8, 105, 0.08);
}

.gpl-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.gpl-form-helper {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* --- Upload Area --- */
.gpl-upload-area {
  position: relative;
  border: 2px dashed hsl(var(--border));
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.gpl-upload-area:hover,
.gpl-upload-area.gpl-upload--drag {
  border-color: #010869;
  background: rgba(1, 8, 105, 0.02);
}

.gpl-upload-area svg {
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.gpl-upload-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin: 0 0 0.25rem;
}

.gpl-upload-hint {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.gpl-upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* --- Submit Button --- */
.gpl-support-submit {
  background: #010869;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gpl-support-submit:hover {
  background: #020a80;
}

/* --- Form Row (2 fields side-by-side) --- */
.gpl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 599px) {
  .gpl-form-row {
    grid-template-columns: 1fr;
  }
}



/* ==================================================================
   GLOBAL FAQ SECTION
   ================================================================== */

.gpl-faq-section {
  position: relative;
  overflow: hidden;
  background: #010869;
  padding: 5rem 0;
}

.gpl-faq-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.gpl-faq-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.gpl-faq-section .container {
  position: relative;
  z-index: 1;
}

.gpl-faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.gpl-faq-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.gpl-faq-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .gpl-faq-title {
    font-size: 2.25rem;
  }
}

.gpl-faq-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.gpl-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 767px) {
  .gpl-faq-grid {
    grid-template-columns: 1fr;
  }
}

.gpl-faq-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.gpl-faq-item[open] {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.gpl-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.gpl-faq-question::-webkit-details-marker {
  display: none;
}

.gpl-faq-question::marker {
  content: '';
}

.gpl-faq-chevron {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.25s ease, color 0.25s ease;
}

.gpl-faq-item[open] .gpl-faq-chevron {
  transform: rotate(180deg);
  color: #fff;
}

.gpl-faq-answer {
  padding: 0 1.5rem 1.25rem;
}

.gpl-faq-answer p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .gpl-faq-item,
  .gpl-faq-chevron,
  .gpl-story-card {
    transition: none;
  }
}

/* ==================================================================
   RECENTLY UPDATED PRODUCTS TABLE
   ================================================================== */

.gpl-recently-updated-header {
  text-align: center;
  margin-bottom: 2rem;
}

.gpl-recently-updated-title {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.gpl-recently-updated-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
}

/* --- Search Bar --- */
.gpl-recent-search {
  max-width: 560px;
  margin: 0 auto 2rem;
}

.gpl-recent-search__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gpl-recent-search__inner:focus-within {
  border-color: #010869;
  box-shadow: 0 0 0 3px rgba(1, 8, 105, 0.08);
}

.gpl-recent-search__icon {
  flex-shrink: 0;
  color: hsl(var(--muted-foreground));
}

.gpl-recent-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  padding: 0.25rem 0;
}

.gpl-recent-search__input::placeholder {
  color: hsl(var(--muted-foreground));
}

.gpl-recent-search__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: hsl(var(--muted-foreground));
  transition: background 0.15s ease, color 0.15s ease;
}

.gpl-recent-search__clear:hover {
  background: rgba(1, 8, 105, 0.06);
  color: #010869;
}

.gpl-recent-search__btn {
  background: #010869;
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.gpl-recent-search__btn:hover {
  background: #020a80;
}

.gpl-recent-search__result-info {
  text-align: center;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
}

.gpl-recent-search__result-info strong {
  color: #010869;
  font-weight: 600;
}

/* --- Table --- */
.gpl-products-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
}

.gpl-products-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.gpl-products-table thead th {
  background: #010869;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.875rem 1.25rem;
  text-align: left;
  white-space: nowrap;
}

.gpl-products-table thead th:first-child {
  border-radius: 11px 0 0 0;
}

.gpl-products-table thead th:last-child {
  border-radius: 0 11px 0 0;
}

#gpl-th-sno,
#gpl-th-title,
#gpl-th-version,
#gpl-th-date {
  color: #fff !important;
}

.gpl-products-table tbody tr {
  border-bottom: 1px solid hsl(var(--border));
  transition: background 0.15s ease;
}

.gpl-products-table tbody tr:last-child {
  border-bottom: none;
}

.gpl-products-table tbody tr:hover {
  background: rgba(1, 8, 105, 0.03);
}

.gpl-products-table tbody td {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  vertical-align: middle;
}

.gpl-products-table .gpl-col-sno {
  width: 60px;
  text-align: center;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.gpl-products-table .gpl-col-title a {
  color: hsl(var(--foreground));
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.gpl-products-table .gpl-col-title a:hover {
  color: #010869;
  text-decoration: underline;
}

.gpl-products-table .gpl-col-version {
  width: 100px;
  text-align: center;
}

.gpl-version-badge {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  border-radius: 6px;
  background: rgba(1, 8, 105, 0.06);
  color: #010869;
  font-size: 0.75rem;
  font-weight: 600;
}

.gpl-version-na {
  color: hsl(var(--muted-foreground));
  font-size: 0.8125rem;
}

.gpl-products-table .gpl-col-date {
  width: 140px;
  white-space: nowrap;
  color: hsl(var(--foreground));
  font-size: 0.8125rem;
}

/* Pagination */
.gpl-recently-updated-pagination {
  margin-top: 2rem;
}

.gpl-recently-updated-pagination ul {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.gpl-recently-updated-pagination li {
  margin: 0;
}

.gpl-recently-updated-pagination a,
.gpl-recently-updated-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  text-decoration: none;
  transition: all 0.15s ease;
}

.gpl-recently-updated-pagination a:hover {
  background: rgba(1, 8, 105, 0.06);
  border-color: #010869;
  color: #010869;
}

.gpl-recently-updated-pagination .current {
  background: #010869;
  color: #fff;
  border-color: #010869;
}

.gpl-no-products {
  text-align: center;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  padding: 3rem 0;
}
