/* =============================================
   HelpRent Phangan — Visa & Tours Styles
   ============================================= */

/* --- Visa Page: Trust Grid --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin: var(--space-3xl) 0;
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.trust-card:hover {
  border-color: rgba(0, 212, 170, 0.2);
  transform: translateY(-4px);
  /* Lift */
  box-shadow: var(--shadow-card-hover);
}

.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent-glow);
  border-radius: var(--radius-md);
  font-size: 1.8rem;
}

.trust-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
}

.trust-card p {
  color: var(--clr-text-muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}

/* --- Visa Page: Process Steps --- */
.process-section {
  margin: var(--space-3xl) 0;
}

.process-section h2 {
  text-align: center;
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}

.process-subtitle {
  text-align: center;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-2xl);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

.process-step {
  position: relative;
  text-align: center;
  padding: var(--space-xl);
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent);
  color: var(--clr-bg);
  border-radius: 50%;
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.step-connector {
  display: none;
}

@media (min-width: 769px) {
  .step-connector {
    display: block;
    position: absolute;
    top: calc(var(--space-xl) + 28px);
    right: -30px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-accent), transparent);
    z-index: 1;
  }
}

.process-step h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
}

.process-step p {
  color: var(--clr-text-muted);
  font-size: var(--fs-small);
}

/* --- Visa Page: Pricing Table --- */
.pricing-section {
  margin: var(--space-3xl) 0;
}

.pricing-section h2 {
  text-align: center;
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}

.pricing-subtitle {
  text-align: center;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-2xl);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.pricing-card.featured {
  border-color: var(--clr-accent);
  position: relative;
  box-shadow: var(--shadow-glow);
  animation: glowPulse 3s infinite ease-in-out;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
  }

  50% {
    box-shadow: 0 0 32px rgba(0, 212, 170, 0.3);
  }

  100% {
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
  }
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--clr-border);
}

.pricing-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.pricing-amount {
  font-family: var(--ff-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--clr-accent);
}

.pricing-amount .currency {
  font-size: 1.2rem;
  color: var(--clr-text-muted);
}

.pricing-label {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
}

.pricing-features li .check {
  color: var(--clr-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-features li .cross {
  color: var(--clr-danger);
  font-weight: 700;
  flex-shrink: 0;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--clr-accent);
  color: var(--clr-bg);
  border: none;
  border-radius: 100px;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: var(--clr-accent-hover);
  color: var(--clr-bg);
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  display: block;
  width: 100%;
  padding: 14px;
  background: transparent;
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border);
  border-radius: 100px;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* --- FAQ Accordion --- */
.faq-section {
  margin: var(--space-3xl) 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-section h2 {
  text-align: center;
  font-size: var(--fs-h2);
  margin-bottom: var(--space-2xl);
}

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(0, 212, 170, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--clr-bg-card);
  border: none;
  color: var(--clr-text);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--clr-bg-card-hover);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  font-size: 1.2rem;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height var(--transition-base),
    padding var(--transition-base);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--clr-text-muted);
  font-size: var(--fs-small);
  line-height: 1.8;
}

/* --- Tours Page: Filter Bar --- */
.filter-bar {
  position: sticky;
  top: 52px;
  z-index: 50;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--space-sm) 0;
}

.filter-bar .container {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
}

.filter-btn {
  padding: 12px 24px;
  /* Increased for better touch targets */
  border: 1px solid var(--clr-border);
  border-radius: 100px;
  background: var(--clr-surface);
  color: var(--clr-text-muted);
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  border-color: var(--clr-accent);
  color: var(--clr-text);
}

.filter-btn.active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-bg);
  box-shadow: 0 4px 16px rgba(0, 212, 170, 0.3);
}

.filter-btn.active::before {
  content: "✓";
  font-weight: 800;
}

/* --- Tours Page: Tour Card --- */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (max-width: 1024px) {
  .tour-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tour-grid {
    grid-template-columns: 1fr;
  }
}

.tour-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  animation: cardFadeIn var(--transition-slow) var(--ease-out) both;
}

.tour-card:hover {
  border-color: rgba(0, 212, 170, 0.15);
  background: var(--clr-bg-card-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.tour-card.hidden {
  display: none;
}

.tour-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.tour-card:hover .tour-image img {
  transform: scale(1.08);
}

.tour-price-badge {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--clr-accent);
}

.tour-category-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
}

.tour-category-badge.water {
  background: rgba(0, 150, 255, 0.15);
  color: #4db8ff;
  border: 1px solid rgba(0, 150, 255, 0.25);
}

.tour-category-badge.jungle {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.tour-category-badge.wellness {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.tour-body {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.tour-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 4px;
}

.tour-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--clr-text-muted);
  font-size: var(--fs-small);
  margin-bottom: var(--space-md);
}

.tour-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tour-description {
  color: var(--clr-text-muted);
  font-size: var(--fs-small);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--clr-border);
}

.tour-price-main {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-accent);
}

.tour-price-main .per {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  font-family: var(--ff-body);
  font-weight: 500;
}

/* --- Hero CTA Section --- */
.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.hero-cta .btn-primary {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 1.05rem;
}

.hero-cta .btn-outline {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
}

/* --- Social Proof Bar --- */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  color: var(--clr-text-muted);
  font-size: var(--fs-small);
}

.social-proof .proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-proof .proof-icon {
  font-size: 1rem;
}

@media (max-width: 600px) {
  .social-proof {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* ========================================
   Visa Timeline — 12-Step Process
   ======================================== */
.visa-timeline {
  position: relative;
  padding: var(--space-xl) 0;
  max-width: 700px;
  margin: 0 auto;
}

.visa-timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: calc(var(--space-xl) + 4px);
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
      var(--clr-accent),
      rgba(0, 212, 170, 0.15));
}

.timeline-item {
  position: relative;
  padding-left: 64px;
  margin-bottom: var(--space-lg);
}

.timeline-marker {
  position: absolute;
  left: 9px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--clr-bg-card);
  border: 2px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  z-index: 1;
  transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-marker {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.25);
  background: rgba(0, 212, 170, 0.08);
}

.timeline-content h3 {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--clr-text);
  margin-bottom: 4px;
}

.timeline-content p {
  color: var(--clr-text-muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .visa-timeline::before {
    left: 16px;
  }

  .timeline-item {
    padding-left: 48px;
  }

  .timeline-marker {
    left: 2px;
    width: 28px;
    height: 28px;
    font-size: var(--fs-xs);
  }
}

/* ========================================
   Refusal Section
   ======================================== */
.refusal-section {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
}

.refusal-section h2,
.refusal-section h3 {
  font-family: var(--ff-heading);
  color: var(--clr-text);
  margin-bottom: var(--space-sm);
}

.refusal-desc {
  color: var(--clr-text-muted);
  margin-bottom: var(--space-lg);
}

.refusal-steps {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.refusal-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  max-width: 280px;
}

.refusal-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.2);
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--clr-accent);
}

.refusal-step p {
  color: var(--clr-text-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
  margin: 0;
}

/* ========================================
   Document Checklist
   ======================================== */
.doc-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  text-align: left;
}

.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
}

.doc-check {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.doc-item p {
  color: var(--clr-text-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
  margin: 0;
}

/* ========================================
   Pricing Split Label
   ======================================== */
.pricing-split {
  font-size: var(--fs-xs);
  color: var(--clr-accent);
  font-weight: 600;
  margin-top: var(--space-xs);
  padding: 4px 12px;
  background: rgba(0, 212, 170, 0.06);
  border-radius: 100px;
  display: inline-block;
}

.pricing-subtitle {
  color: var(--clr-text-muted);
  text-align: center;
  margin-bottom: var(--space-xl);
  font-size: var(--fs-body);
}

.visa-what-section {
  text-align: center;
}

.visa-what-section h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  color: var(--clr-text);
  margin-bottom: var(--space-sm);
}

/* ========================================
   Visa Premium Enhancements Grid/Alignments
   ======================================== */
.premium-callout {
  background: linear-gradient(90deg,
      rgba(82, 237, 203, 0.05) 0%,
      rgba(20, 24, 32, 0) 100%);
  border-left: 4px solid var(--clr-accent);
  padding: var(--space-md) var(--space-xl);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-xl) auto;
  max-width: 800px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.premium-callout h3 {
  margin-bottom: var(--space-sm);
  color: var(--clr-text);
  font-size: var(--fs-h3);
}

.premium-callout p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
}

/* Pricing Card Glassmorphism Upgrade */
.pricing-card.featured.glass-upgrade {
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.05),
      rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(255, 123, 0, 0.3);
  box-shadow: 0 10px 40px rgba(255, 123, 0, 0.15);
  backdrop-filter: blur(10px);
}

.pricing-card.featured.glass-upgrade::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 123, 0, 0.5), transparent);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Document Layout Specifics */
.doc-checklist .doc-item p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Fix Refusal Steps contrast */
.refusal-step p {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Enhance FAQ answer font sizes */
.faq-answer-inner {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Enhance Process steps contrast */
.process-step p,
.timeline-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}