/* style/index-security-guarantee.css */
:root {
  --s666-primary-color: #11A84E;
  --s666-secondary-color: #22C768;
  --s666-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --s666-card-bg: #11271B;
  --s666-background: #08160F;
  --s666-text-main: #F2FFF6;
  --s666-text-secondary: #A7D9B8;
  --s666-border-color: #2E7A4E;
  --s666-glow-color: #57E38D;
  --s666-gold-color: #F2C14E;
  --s666-divider-color: #1E3A2A;
  --s666-deep-green: #0A4B2C;
}

.page-index-security-guarantee {
  font-family: Arial, sans-serif;
  color: var(--s666-text-main); /* Default text color for dark background */
  background-color: var(--s666-background);
  line-height: 1.6;
  font-size: 1rem;
}

.page-index-security-guarantee__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-security-guarantee__container--center-text {
  text-align: center;
}

.page-index-security-guarantee__section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-index-security-guarantee__section-title {
  font-size: 2.5rem;
  color: var(--s666-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-security-guarantee__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 80px 0; /* Small top padding, larger bottom padding */
  background-color: var(--s666-background);
}

.page-index-security-guarantee__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-index-security-guarantee__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-index-security-guarantee__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-index-security-guarantee__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--s666-gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-index-security-guarantee__description {
  font-size: 1.15rem;
  color: var(--s666-text-secondary);
  margin-bottom: 30px;
}

.page-index-security-guarantee__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-security-guarantee__btn-primary,
.page-index-security-guarantee__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index-security-guarantee__btn-primary {
  background: var(--s666-button-gradient);
  color: var(--s666-text-main);
  border: 2px solid transparent;
}

.page-index-security-guarantee__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--s666-primary-color), 0.4);
}

.page-index-security-guarantee__btn-secondary {
  background: var(--s666-card-bg);
  color: var(--s666-gold-color);
  border: 2px solid var(--s666-border-color);
}

.page-index-security-guarantee__btn-secondary:hover {
  background: var(--s666-border-color);
  color: var(--s666-text-main);
  transform: translateY(-3px);
}

.page-index-security-guarantee__dark-bg {
  background-color: var(--s666-background);
  color: var(--s666-text-main);
}

.page-index-security-guarantee__card-bg {
  background-color: var(--s666-card-bg);
  color: var(--s666-text-main);
}

.page-index-security-guarantee__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-index-security-guarantee__grid-item {
  background-color: var(--s666-deep-green);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--s666-border-color);
}

.page-index-security-guarantee__grid-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index-security-guarantee__item-title {
  font-size: 1.5rem;
  color: var(--s666-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-security-guarantee__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-index-security-guarantee__list li {
  background-color: var(--s666-deep-green);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 5px solid var(--s666-primary-color);
  font-size: 1.05rem;
  color: var(--s666-text-secondary);
}

.page-index-security-guarantee__list li strong {
  color: var(--s666-gold-color);
}

.page-index-security-guarantee__list--two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-index-security-guarantee__highlight {
  color: var(--s666-gold-color);
  font-weight: bold;
}

/* FAQ Section */
.page-index-security-guarantee__faq-list {
  margin-top: 40px;
}

.page-index-security-guarantee__faq-item {
  background-color: var(--s666-deep-green);
  border: 1px solid var(--s666-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-security-guarantee__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--s666-text-main);
  cursor: pointer;
  background-color: var(--s666-card-bg);
  border-bottom: 1px solid var(--s666-border-color);
}

.page-index-security-guarantee__faq-item[open] .page-index-security-guarantee__faq-question {
  border-bottom: 1px solid var(--s666-primary-color);
}

.page-index-security-guarantee__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-security-guarantee__faq-toggle {
  font-size: 1.5rem;
  color: var(--s666-gold-color);
  margin-left: 15px;
}

.page-index-security-guarantee__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--s666-text-secondary);
  background-color: var(--s666-deep-green);
  border-top: 1px solid var(--s666-divider-color);
}

.page-index-security-guarantee__faq-answer p {
  margin: 0;
}

.page-index-security-guarantee a {
  color: var(--s666-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-security-guarantee a:hover {
  color: var(--s666-gold-color);
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-index-security-guarantee__section-title {
    font-size: 2.2rem;
  }
  .page-index-security-guarantee__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-index-security-guarantee__grid {
    grid-template-columns: 1fr;
  }
  .page-index-security-guarantee__list--two-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-index-security-guarantee__section {
    padding: 60px 0;
  }
  .page-index-security-guarantee__hero-section {
    padding: 10px 0 60px 0;
  }
  .page-index-security-guarantee__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-index-security-guarantee__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-index-security-guarantee__description {
    font-size: 1rem;
  }
  .page-index-security-guarantee__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-security-guarantee__btn-primary,
  .page-index-security-guarantee__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-index-security-guarantee__container,
  .page-index-security-guarantee__grid-item,
  .page-index-security-guarantee__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .page-index-security-guarantee img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-security-guarantee__list li {
    font-size: 0.95rem;
  }
  .page-index-security-guarantee__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }
  .page-index-security-guarantee__faq-answer {
    font-size: 0.95rem;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-security-guarantee__section-title {
    font-size: 1.5rem;
  }
  .page-index-security-guarantee__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .page-index-security-guarantee__grid-item {
    padding: 20px;
  }
  .page-index-security-guarantee__item-title {
    font-size: 1.3rem;
  }
  .page-index-security-guarantee__list li {
    font-size: 0.9rem;
  }
  .page-index-security-guarantee__faq-question {
    font-size: 1rem;
  }
}