/* Help Center Page Specific Styles */

/* Page Background */
body {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  background-attachment: fixed;
}

/* Add subtle pattern overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(255, 122, 182, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(216, 154, 216, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(255, 122, 182, 0.02) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -1;
}

/* Hero Section */
.help-hero {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Help Content */
.help-content {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Help Card */
.help-card {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.help-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 122, 182, 0.3),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.help-card:hover {
  border-color: rgba(255, 122, 182, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.help-card:hover::before {
  opacity: 1;
}

/* Section Titles */
.help-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff, #ff7ab6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.help-section-title::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 2rem;
  background: linear-gradient(180deg, #ff7ab6, #ff9ac6);
  border-radius: 2px;
}

/* Help Steps */
.help-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.help-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
}

.help-step-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #ff7ab6, #ff9ac6);
  color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 4px 15px rgba(255, 122, 182, 0.3);
  position: relative;
  z-index: 2;
}

.help-step-content {
  flex: 1;
  padding-top: 0.5rem;
}

.help-step-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* Help Features */
.help-features {
  display: grid;
  gap: 1.5rem;
}

.help-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.help-feature:hover {
  background: rgba(255, 122, 182, 0.05);
  border-color: rgba(255, 122, 182, 0.2);
  transform: translateX(5px);
}

.help-feature-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #ff7ab6, #ff9ac6);
  color: black;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 122, 182, 0.3);
}

.help-feature-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Help Safety */
.help-safety {
  display: grid;
  gap: 1.5rem;
}

.help-safety-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 122, 182, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(255, 122, 182, 0.1);
  transition: all 0.3s ease;
}

.help-safety-item:hover {
  background: rgba(255, 122, 182, 0.1);
  border-color: rgba(255, 122, 182, 0.3);
  transform: translateX(5px);
}

.help-safety-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #ff7ab6, #ff9ac6);
  color: black;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 122, 182, 0.3);
}

.help-safety-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Help Support */
.help-support {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.help-support-list {
  display: grid;
  gap: 1rem;
}

.help-support-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.help-support-item:hover {
  background: rgba(255, 122, 182, 0.05);
  border-color: rgba(255, 122, 182, 0.2);
  transform: translateX(5px);
}

.help-support-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #ff7ab6, #ff9ac6);
  color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 122, 182, 0.3);
}

.help-support-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.help-support-contact {
  padding: 1.5rem;
  background: rgba(255, 122, 182, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(255, 122, 182, 0.1);
  text-align: center;
}

.help-support-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.help-support-link {
  color: #ff7ab6;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.help-support-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff7ab6, #ff9ac6);
  transition: width 0.3s ease;
}

.help-support-link:hover::after {
  width: 100%;
}

.help-support-link:hover {
  color: #ff9ac6;
  text-decoration: none;
}

/* CTA Section */
.help-cta {
  animation: fadeInUp 0.8s ease-out 0.4s both;
  text-align: center;
}

.help-back-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.help-back-btn:hover {
  background: rgba(255, 122, 182, 0.1);
  border-color: rgba(255, 122, 182, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 122, 182, 0.2);
  color: white;
  text-decoration: none;
}

/* Highlight Important Sections */
.help-card:nth-child(odd) {
  border-left: 3px solid rgba(255, 122, 182, 0.3);
}

.help-card:nth-child(even) {
  border-left: 3px solid rgba(216, 154, 216, 0.3);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .help-card {
    padding: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .help-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .help-section-title::before {
    left: -0.75rem;
    width: 3px;
    height: 1.5rem;
  }

  .help-step {
    gap: 1rem;
  }

  .help-step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .help-step-text {
    font-size: 1rem;
  }

  .help-feature,
  .help-safety-item {
    padding: 1.25rem;
    gap: 0.875rem;
  }

  .help-feature-icon,
  .help-safety-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .help-feature-text,
  .help-safety-text {
    font-size: 0.95rem;
  }

  .help-support-item {
    padding: 0.875rem 1.25rem;
  }

  .help-support-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .help-support-text {
    font-size: 0.95rem;
  }

  .help-support-contact {
    padding: 1.25rem;
  }

  .help-support-description {
    font-size: 0.95rem;
  }

  .help-back-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .help-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }

  .help-section-title {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
  }

  .help-section-title::before {
    left: -0.5rem;
    width: 2px;
    height: 1.25rem;
  }

  .help-step {
    gap: 0.875rem;
  }

  .help-step-number {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.9rem;
  }

  .help-step-text {
    font-size: 0.95rem;
  }

  .help-feature,
  .help-safety-item {
    padding: 1rem;
    gap: 0.75rem;
  }

  .help-feature-icon,
  .help-safety-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .help-feature-text,
  .help-safety-text {
    font-size: 0.9rem;
  }

  .help-support-item {
    padding: 0.75rem 1rem;
  }

  .help-support-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .help-support-text {
    font-size: 0.9rem;
  }

  .help-support-contact {
    padding: 1rem;
  }

  .help-support-description {
    font-size: 0.9rem;
  }

  .help-back-btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
}

/* Focus visible for accessibility */
.help-back-btn:focus-visible,
.help-support-link:focus-visible {
  outline: 2px solid #ff7ab6;
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Print styles */
@media print {
  .help-card {
    background: white;
    color: black;
    border: 1px solid #ccc;
    box-shadow: none;
  }

  .help-section-title {
    color: black;
    -webkit-text-fill-color: black;
  }

  .help-step-text,
  .help-feature-text,
  .help-safety-text,
  .help-support-text,
  .help-support-description {
    color: #333;
  }
}
