/* Ensure reveal content is visible if main script fails; subtle transition */
.reveal{opacity:1 !important;transform:none !important;transition:none !important}
.label{font-weight:700;color:var(--muted)}
.logo{height:56px}

/* Mobile touch optimization */
@media (hover: none) and (pointer: coarse) {
  /* Increase touch targets for mobile */
  .lang-btn, .theme-btn {
    min-height:44px;
    min-width:44px;
  }
  .main-nav a {
    padding:0.6rem 0.8rem;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  .cta {
    min-height:48px;
    padding:0.8rem 1.5rem;
  }
  /* Disable hover effects on touch devices */
  .point-card:hover,
  .faq-item:hover {
    transform:none;
  }
  /* Better tap highlight */
  a, button {
    -webkit-tap-highlight-color:rgba(200,35,51,0.2);
  }
}

/* FAQ item hover effects */
.faq-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
}

/* Smooth link hover transitions */
.main-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Smooth button transitions */
.lang-btn, .theme-btn, .cta {
  transition: all 0.2s ease;
}

/* Improve brand hover */
.brand {
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.8;
}

/* Mobile-specific page adjustments */
@media (max-width:768px) {
  .about-content {
    font-size:0.95rem !important;
  }
  .about-content h1 {
    font-size:1.8rem !important;
  }
  .about-content h3 {
    font-size:1.1rem !important;
  }
  .faq-item {
    padding:1rem !important;
    margin-bottom:1rem !important;
  }
  .faq-item h3 {
    font-size:1.05rem !important;
  }
  .faq-item p {
    font-size:0.95rem !important;
  }
}

@media (max-width:480px) {
  .about-content {
    padding:2rem 0.5rem !important;
  }
  .about-content h1 {
    font-size:1.6rem !important;
  }
  .about-content h3 {
    font-size:1rem !important;
  }
  .about-content p {
    font-size:0.9rem !important;
  }
  .faq-item {
    padding:0.8rem !important;
  }
  .faq-item h3 {
    font-size:1rem !important;
  }
  .contact .label {
    font-size:1rem !important;
  }
}

