:root {
    --primary-color: #F2C14E; /* Main color */
    --secondary-color: #FFD36B; /* Accent color */
    --card-bg: #111111; /* Card background */
    --background-color: #0A0A0A; /* Page background */
    --text-main: #FFF6D6; /* Main text color */
    --border-color: #3A2A12; /* Border color */
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    --glow-color: #FFD36B; /* Glow color */
    --primary-color-rgb: 242, 193, 78; /* F2C14E */
    --card-bg-rgb: 17, 17, 17; /* 111111 */
}

/* Base styles for the page content */
.page-about {
    color: var(--text-main); /* Light text for dark body background */
    background-color: var(--background-color);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

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

.page-about__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-about__text-block {
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: var(--text-main);
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    overflow: hidden; /* Ensure no overflow from image */
}

.page-about__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure full width within max-width */
}

.page-about__hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-about__hero-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px; /* Constrain content width */
}

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff; /* White text for contrast */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-color);
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
}

.page-about__cta-button:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--secondary-color);
}

.page-about__cta-button--secondary {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.page-about__cta-button--secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* Platform Overview Section */
.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-about__feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px; /* Ensure cards are not too small */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-about__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__feature-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    max-width: 100%; /* Ensure image responsiveness */
    display: block;
}

.page-about__card-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-card p {
    color: var(--text-main);
    font-size: 1em;
}

/* Mission & Vision, Security & Fairness Sections */
.page-about__content-row {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 50px;
}

.page-about__content-row--reverse {
    flex-direction: row-reverse;
}

.page-about__content-text {
    flex: 1;
    min-width: 300px;
}

.page-about__content-text p {
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.1em;
}

.page-about__content-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-about__content-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%; /* Ensure image responsiveness */
    object-fit: cover;
}

.page-about__link-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    border: 1px solid transparent;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-about__link-button:hover {
    background: var(--secondary-color);
    border-color: var(--primary-color);
}

/* Core Values Section */
.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-about__value-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-about__value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__value-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__value-item p {
    color: var(--text-main);
    font-size: 1em;
}

/* Customer Support Section */
.page-about__support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-about__channel-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-about__channel-item img {
    width: 200px; /* Enforce minimum size for desktop */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--glow-color)); /* Subtle glow for icons */
    max-width: 100%;
    display: block;
}

.page-about__channel-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__channel-item p {
    color: var(--text-main);
    font-size: 1em;
}

.page-about__contact-cta {
    margin-top: 50px;
}

/* FAQ Section */
.page-about__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
    text-align: left;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: rgba(var(--primary-color-rgb), 0.1); /* Use rgba for hover effect */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color); /* Use primary color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--card-bg-rgb), 0.8); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__container {
        padding: 15px;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__sub-title {
        font-size: 1.5em;
    }
    .page-about__content-row {
        flex-direction: column;
        gap: 30px;
    }
    .page-about__content-row--reverse {
        flex-direction: column; /* Keep consistent on mobile */
    }
    .page-about__feature-card {
        padding: 20px;
        min-height: auto;
    }
    .page-about__value-item {
        padding: 20px;
        min-height: auto;
    }
    .page-about__channel-item {
        padding: 20px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__hero-image-wrapper {
        border-radius: 8px;
    }
    .page-about__hero-image-wrapper img {
        border-radius: 8px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-about__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__cta-button,
    .page-about__link-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-about__container,
    .page-about__section,
    .page-about__feature-card,
    .page-about__value-item,
    .page-about__channel-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__sub-title {
        font-size: 1.3em;
    }
    .page-about__text-block {
        font-size: 1em;
    }
    .page-about__feature-card img,
    .page-about__content-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-about__channel-item img {
        min-width: 200px !important;
        min-height: 200px !important;
        width: 200px !important; /* Fixed size for mobile to ensure consistency and meet min size */
        height: 200px !important;
    }

    details.page-about__faq-item summary.page-about__faq-question { padding: 15px; }
    .page-about__faq-qtext { font-size: 1em; }
    details.page-about__faq-item .page-about__faq-answer { padding: 0 15px 15px; }
}

@media (max-width: 480px) {
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__hero-description {
        font-size: 0.95em;
    }
    .page-about__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
}