/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  background-color: var(--bg, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__dark-section {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-about__section-title {
  font-size: 2.5rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-about__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__highlight-text {
  color: var(--gold, #F2C14E);
  font-weight: bold;
}

.page-about__link {
  color: var(--glow, #57E38D);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__link:hover {
  color: var(--gold, #F2C14E);
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative; /* Ensure image is in normal flow */
  display: block;
  max-width: 100%;
}

.page-about__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: 30px; /* Separates content from image */
}

.page-about__main-title {
  color: var(--text-main, #F2FFF6);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-about__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(34, 199, 104, 0.4);
}

.page-about__btn-large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

/* Image Content */
.page-about__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Card Grid */
.page-about__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__card {
  background-color: var(--card-bg, #11271B);
  color: var(--text-secondary, #A7D9B8);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__card-title {
  font-size: 1.5rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-text {
  font-size: 1rem;
  line-height: 1.7;
}

/* Product List / Security List */
.page-about__product-list,
.page-about__security-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-about__product-item,
.page-about__security-item {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: var(--text-secondary, #A7D9B8);
}

.page-about__product-item::before,
.page-about__security-item::before {
  content: '✔';
  color: var(--glow, #57E38D);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* FAQ Section */
.page-about__faq-section {
  text-align: left;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-about__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--divider, #1E3A2A);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-item summary {
  list-style: none;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  background-color: var(--card-bg, #11271B);
  transition: background-color 0.3s ease;
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-about__faq-item summary:hover {
  background-color: var(--deep-green, #0A4B2C);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow, #57E38D);
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary, #A7D9B8);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2rem;
  }

  .page-about__hero-description {
    font-size: 1.1rem;
  }

  .page-about__card-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-about__text-block {
    font-size: 1rem;
    padding: 0 15px;
  }

  .page-about__hero-section {
    padding-bottom: 40px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
    padding: 0 15px;
  }

  .page-about__hero-description {
    font-size: 1rem;
    padding: 0 15px;
  }

  .page-about__btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0;
  }

  .page-about__btn-large {
    font-size: 1.1rem;
  }

  .page-about__image-content {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-about__card {
    padding: 25px;
  }

  .page-about__product-list,
  .page-about__security-list {
    margin: 20px auto;
    padding: 0 15px;
  }

  .page-about__product-item,
  .page-about__security-item {
    font-size: 1rem;
    padding-left: 25px;
  }

  .page-about__faq-list {
    padding: 0 15px;
  }

  .page-about__faq-item summary {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  /* Ensure all containers are responsive */
  .page-about__container,
  .page-about__introduction-section,
  .page-about__values-section,
  .page-about__products-section,
  .page-about__security-section,
  .page-about__team-section,
  .page-about__future-section,
  .page-about__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.5rem;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
}