.page-resources-pg99-account-security {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Inherit from shared.css */
}

.page-resources-pg99-account-security__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background: linear-gradient(135deg, #0A2463, #1a3a7a);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-resources-pg99-account-security__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-resources-pg99-account-security__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: bold;
}

.page-resources-pg99-account-security__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources-pg99-account-security__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-pg99-account-security__btn-primary,
.page-resources-pg99-account-security__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-pg99-account-security__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-resources-pg99-account-security__btn-primary:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
}

.page-resources-pg99-account-security__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-pg99-account-security__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-resources-pg99-account-security__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-pg99-account-security__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-resources-pg99-account-security__features-section,
.page-resources-pg99-account-security__tips-section,
.page-resources-pg99-account-security__issues-section,
.page-resources-pg99-account-security__faq-section,
.page-resources-pg99-account-security__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.page-resources-pg99-account-security__section-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-pg99-account-security__section-intro {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-pg99-account-security__feature-grid,
.page-resources-pg99-account-security__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-pg99-account-security__feature-card,
.page-resources-pg99-account-security__tip-card,
.page-resources-pg99-account-security__issue-card {
  background-color: #1a3a7a; /* Darker blue for cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-pg99-account-security__feature-card:hover,
.page-resources-pg99-account-security__tip-card:hover,
.page-resources-pg99-account-security__issue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-pg99-account-security__feature-icon,
.page-resources-pg99-account-security__tip-image {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-pg99-account-security__feature-title,
.page-resources-pg99-account-security__tip-title,
.page-resources-pg99-account-security__issue-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-pg99-account-security__feature-description,
.page-resources-pg99-account-security__tip-description,
.page-resources-pg99-account-security__issue-description {
  font-size: 1em;
  color: #e0e0e0;
}

.page-resources-pg99-account-security__issues-section .page-resources-pg99-account-security__section-intro {
  margin-bottom: 50px;
}

.page-resources-pg99-account-security__issue-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-pg99-account-security__btn-link {
  display: inline-block;
  margin-top: 20px;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-resources-pg99-account-security__btn-link:hover {
  color: #e0b800;
  border-color: #e0b800;
}

.page-resources-pg99-account-security__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-resources-pg99-account-security__faq-item {
  background-color: #1a3a7a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-pg99-account-security__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #0A2463;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-pg99-account-security__faq-question:hover {
  background-color: #0d2e72;
}

.page-resources-pg99-account-security__faq-question h3 {
  margin: 0;
  color: #FFD700;
  font-size: 1em; /* Adjust to fit within 1.2em parent */
}

.page-resources-pg99-account-security__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-resources-pg99-account-security__faq-item.active .page-resources-pg99-account-security__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-pg99-account-security__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  text-align: left;
}

.page-resources-pg99-account-security__faq-item.active .page-resources-pg99-account-security__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 20px 25px;
}

.page-resources-pg99-account-security__cta-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: linear-gradient(135deg, #1a3a7a, #0A2463);
  border-radius: 15px;
  margin-bottom: 80px;
  padding: 60px 40px;
  color: #ffffff;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.page-resources-pg99-account-security__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-pg99-account-security__cta-description {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 30px;
  max-width: 800px;
}

.page-resources-pg99-account-security__cta-image-wrapper {
  width: 100%;
  max-width: 600px;
  margin-top: 30px;
}

.page-resources-pg99-account-security__cta-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-pg99-account-security__hero-title {
    font-size: 2.8em;
  }
  .page-resources-pg99-account-security__section-title {
    font-size: 2.4em;
  }
  .page-resources-pg99-account-security__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-pg99-account-security {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-pg99-account-security__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-resources-pg99-account-security__hero-title {
    font-size: 2em;
  }
  .page-resources-pg99-account-security__hero-description {
    font-size: 1em;
  }
  .page-resources-pg99-account-security__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-pg99-account-security__btn-primary,
  .page-resources-pg99-account-security__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
  }
  .page-resources-pg99-account-security__features-section,
  .page-resources-pg99-account-security__tips-section,
  .page-resources-pg99-account-security__issues-section,
  .page-resources-pg99-account-security__faq-section,
  .page-resources-pg99-account-security__cta-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-pg99-account-security__section-title {
    font-size: 2em;
  }
  .page-resources-pg99-account-security__section-intro {
    font-size: 0.95em;
  }
  .page-resources-pg99-account-security__feature-grid,
  .page-resources-pg99-account-security__tips-grid,
  .page-resources-pg99-account-security__issue-cards {
    grid-template-columns: 1fr;
  }
  .page-resources-pg99-account-security__feature-card,
  .page-resources-pg99-account-security__tip-card,
  .page-resources-pg99-account-security__issue-card {
    padding: 25px;
  }
  .page-resources-pg99-account-security__feature-icon,
  .page-resources-pg99-account-security__tip-image,
  .page-resources-pg99-account-security__cta-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-pg99-account-security__cta-section {
    padding: 40px 20px;
  }
  .page-resources-pg99-account-security__cta-title {
    font-size: 1.8em;
  }
  .page-resources-pg99-account-security__faq-question,
  .page-resources-pg99-account-security__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-pg99-account-security__faq-question h3 {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-resources-pg99-account-security__hero-title {
    font-size: 1.8em;
  }
  .page-resources-pg99-account-security__section-title {
    font-size: 1.8em;
  }
  .page-resources-pg99-account-security__cta-title {
    font-size: 1.6em;
  }
  .page-resources-pg99-account-security__feature-title,
  .page-resources-pg99-account-security__tip-title,
  .page-resources-pg99-account-security__issue-title {
    font-size: 1.4em;
  }
}