/* ═══════════════════════════════════════════
   BeautyZone — About Page
   css/pages/about.css
   ═══════════════════════════════════════════ */

/* ══════════════════
   About Hero
   ══════════════════ */
.about-hero {
  background: var(--dark-bg);
  padding-block: var(--sp-24) var(--sp-20);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(200,146,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero__inner {
  position: relative;
  max-width: 720px;
}

.about-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.15;
  margin-block: var(--sp-4) var(--sp-6);
}

.about-hero__title em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 640px) {
  .about-hero__title { font-size: var(--text-5xl); }
}

@media (min-width: 1024px) {
  .about-hero__title { font-size: var(--text-6xl); }
}

.about-hero__sub {
  color: var(--dark-muted);
  font-size: var(--text-lg);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: var(--sp-8);
}

.about-hero__cta {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}


/* ══════════════════
   Mission Section
   ══════════════════ */
.mission-section {
  background: var(--light-bg);
  padding-block: var(--section-py);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}

@media (min-width: 640px) {
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .mission-grid { grid-template-columns: repeat(4, 1fr); }
}

.mission-card {
  background: var(--light-bg-card);
  border: 1px solid var(--light-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  transition: box-shadow var(--ease-base), transform var(--ease-base);
}

.mission-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mission-card__icon {
  font-size: 2rem;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--sp-4);
}

.mission-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: var(--sp-3);
}

.mission-card p {
  font-size: var(--text-sm);
  color: var(--light-muted);
  line-height: 1.7;
}


/* ══════════════════
   How Section (light variant override)
   ══════════════════ */
.how-section--light {
  background: var(--light-bg-alt);
}

.how-section--light .section-title { color: var(--light-text); }
.how-section--light .label { color: var(--gold-2); }

.how-section--light .how-step__num {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.how-section--light .how-step h3 { color: var(--light-text); }
.how-section--light .how-step p  { color: var(--light-muted); }
.how-section--light .how-step--arrow { color: var(--light-dim); }


/* ══════════════════
   Platform Stats (dark)
   ══════════════════ */
.platform-stats-section {
  background: var(--dark-bg);
  padding-block: var(--section-py);
}

.section-head--center {
  text-align: center;
}

.section-head--center .label {
  justify-content: center;
}

.platform-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}

@media (min-width: 768px) {
  .platform-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.platform-stat {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  background: var(--dark-bg-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-lg);
}

.platform-stat__num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: var(--sp-3);
}

.platform-stat__label {
  font-size: var(--text-sm);
  color: var(--dark-muted);
}


/* ══════════════════
   Master Benefits
   ══════════════════ */
.master-benefits-section {
  background: var(--light-bg);
  padding-block: var(--section-py);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: var(--sp-12);
  border: 1px solid var(--light-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

@media (min-width: 768px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-item {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-8) var(--sp-6);
  border-bottom: 1px solid var(--light-border);
  transition: background var(--ease-fast);
}

.benefit-item:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .benefit-item:nth-last-child(-n+2) { border-bottom: none; }
}

@media (min-width: 1024px) {
  .benefit-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--light-border); }
  .benefit-item:nth-last-child(-n+3) { border-bottom: none; }
}

.benefit-item:hover { background: var(--light-bg-alt); }

.benefit-item__num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.benefit-item__content h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: var(--sp-2);
}

.benefit-item__content p {
  font-size: var(--text-sm);
  color: var(--light-muted);
  line-height: 1.7;
}


/* ══════════════════
   Join Section
   ══════════════════ */
.join-section {
  background: var(--dark-bg);
  padding-block: var(--section-py);
}

.join-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}

@media (min-width: 900px) {
  .join-section__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--sp-16);
  }
}

/* Text side */
.join-section__text .section-title--light {
  color: var(--dark-text);
  margin-block: var(--sp-4) var(--sp-6);
}

.join-section__text p {
  color: var(--dark-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

.label--gold {
  color: var(--gold-1) !important;
}

.join-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.join-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  color: var(--dark-muted);
  font-size: var(--text-sm);
}

.join-checklist li::before {
  content: '✓';
  color: var(--gold-1);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Form side */
.join-form {
  background: var(--dark-bg-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

.join-form__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--dark-text);
  margin-bottom: var(--sp-1);
}

.join-form__sub {
  font-size: var(--text-sm);
  color: var(--dark-muted);
  margin-bottom: var(--sp-6);
}

.join-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.join-form__field label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--dark-dim);
}

.join-form__field input,
.join-form__field select,
.join-form__field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  color: var(--dark-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--ease-fast), background var(--ease-fast);
  width: 100%;
}

.join-form__field select {
  appearance: none;
  -webkit-appearance: none;
  /* Золотая стрелка в цвет сайта */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8922A' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
  /* Просим браузер рисовать выпадающий список в тёмной теме */
  color-scheme: dark;
}

/* Стиль пунктов выпадающего списка */
.join-form__field select option {
  background: #0f2d1f;
  color: var(--dark-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 0.5rem 1rem;
}

.join-form__field select option:disabled {
  color: rgba(255,255,255,0.35);
}

.join-form__field textarea {
  resize: vertical;
  min-height: 80px;
}

.join-form__field input::placeholder,
.join-form__field textarea::placeholder {
  color: rgba(168,197,176,0.5);
}

.join-form__field input:focus,
.join-form__field select:focus,
.join-form__field textarea:focus {
  outline: none;
  border-color: var(--gold-1);
  background: rgba(255,255,255,0.09);
}

.join-form__submit {
  width: 100%;
  margin-top: var(--sp-2);
  position: relative;
}

.btn-loader {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.join-form__note {
  font-size: var(--text-xs);
  color: var(--dark-dim);
  text-align: center;
  margin-top: var(--sp-3);
  line-height: 1.5;
}

/* Success state */
.join-form__success {
  background: var(--dark-bg-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
}

.join-form__success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #fff;
  font-size: var(--text-2xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
}

.join-form__success h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--dark-text);
  margin-bottom: var(--sp-3);
}

.join-form__success p {
  color: var(--dark-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.join-form__success .btn {
  margin-top: var(--sp-6);
}


/* ══════════════════
   FAQ Section
   ══════════════════ */
.faq-section {
  background: var(--light-bg);
  padding-block: var(--section-py);
}

.faq-list {
  margin-top: var(--sp-12);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 760px;
}

.faq-item {
  background: var(--light-bg-card);
  border: 1px solid var(--light-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--light-text);
  list-style: none;
  gap: var(--sp-4);
  transition: background var(--ease-fast);
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q::after {
  content: '+';
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--gold-2);
  flex-shrink: 0;
  transition: transform var(--ease-base);
}

.faq-item[open] .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item[open] .faq-item__q {
  background: var(--light-bg);
}

.faq-item__a {
  padding: 0 var(--sp-6) var(--sp-5);
}

.faq-item__a p {
  font-size: var(--text-sm);
  color: var(--light-muted);
  line-height: 1.7;
}


/* ══════════════════
   Mobile tweaks
   ══════════════════ */
@media (max-width: 479px) {
  .about-hero {
    padding-block: var(--sp-20) var(--sp-12);
  }

  .about-hero__cta {
    flex-direction: column;
  }

  .about-hero__cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .join-form {
    padding: var(--sp-6);
  }

  .platform-stat__num {
    font-size: var(--text-3xl);
  }
}
