/* style.css */
/* Сброс */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* html, body растягиваются на всю высоту, 
   и используем flex-колонку для шапки (top-bar), hero и футера (footer) */
html,
body {
  width: 100%;
  height: 100%;
  font-family: 'GhlaszF', sans-serif;
  background-color: #0e0f11;
  /* фоновый цвет за пределами */
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* ---------- Верхняя золотистая плашка (top-bar) ---------- */
.top-bar {
  height: 36px;
  /* фиксированная высота */
  flex-shrink: 0;
  /* не даём сжиматься при переполнении */

  /* Пример градиента (8 остановок). 
     Замените цвета/проценты под точные из макета */
  background: linear-gradient(to right,
      #AD8B27 0%,
      #D0B551 10%,
      #A37A03 20%,
      #AD8B27 25%,
      #F7E582 50%,
      #AD8B27 85%,
      #A37A03 90%,
      #D0B551 100%);
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 3;
}

.top-bar-text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  /* Satoshi-Bold */
  letter-spacing: 0.32px;
  color: #0E0F11;
  /* Тёмный текст на золотом фоне */
  text-align: center;
  position: relative;
}

/* ---------- Верхняя золотистая плашка для страницы signup0.php ---------- */
.logo-mini {
  cursor: pointer;
  /* display: flex; */
  position: absolute;
  width: 40px;
  /* Ширина логотипа */
  height: 40px;
  /* Высота логотипа */
  top: 12px;
  left: 13px;
  z-index: 3;
  /* background-color: #0E0F11; */
}

/* ---------- Основная секция (hero) ---------- */
/* flex: 1 => растягивается на всё свободное пространство между шапкой и футером */
.hero {
  position: relative;
  flex: 1;
  background-color: #0E0F11;
  /* нижняя часть */
  overflow: hidden;
}

/* 
   Псевдоэлемент, отвечающий за фон-картинку в верхних 50% 
   + плавный переход к #0E0F11.
   - 'filter: brightness(...) blur(...)' затемняет и размывает картинку.
*/
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  /* Верхняя половина контейнера hero */

  /* 
     background:
       - сначала линейный градиент (от прозрачного вверху до #0E0F11 внизу),
       - поверх — картинка 
  */
  background:
    linear-gradient(to bottom,
      rgba(14, 15, 17, 0.95) 0%,
      /* Темный цвет на 0% */
      rgba(14, 15, 17, 0.90) 10%,
      /* Сохраняем темный цвет до 10% */
      rgba(14, 15, 17, 0.85) 20%,
      /* Немного светлее к 20% */
      rgba(14, 15, 17, 0.6) 40%,
      /* Светлый цвет к 40% */
      rgba(14, 15, 17, 0.7) 60%,
      /* Полу-прозрачная тень к 60% */
      rgba(14, 15, 17, 0.8) 80%,
      /* Увеличиваем тень к 80% */
      rgba(14, 15, 17, 0.95) 90%,
      /* Ещё более тёмный цвет к 90% */
      rgba(14, 15, 17, 1) 100%
      /* Полноценный чёрный к низу */
    ),
    url('../images/background.jpg') center top / cover no-repeat;

  filter: brightness(1) blur(2px);
  z-index: 1;
}

/* Контент поверх псевдоэлемента */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-logo {
  width: 240px;
  height: auto;
  margin: 0 auto 20px;
}

.hero-title {
  font-size: 36px;
  line-height: 48px;
  letter-spacing: 0.36px;
  font-weight: 300;
  margin-bottom: 10px;
}

/* .hero-title {
  font-family: 'Satoshi', sans-serif; 
  font-size: 52px;
  line-height: 64px;
  letter-spacing: 0.52px;
  font-weight: 300; 
  color: #fff;      
  margin-bottom: 10px; 
} */

.hero-subtitle {
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0.36px;
  font-weight: 400;
  color: #A9ACBC;
  margin-bottom: 0px;
}

.button-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

/* Кнопка Sign Up (как было) */
.btn-signup {
  background-color: #CAB170;
  color: #0E0F11;
  font-family: 'GhlaszF', sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.28px;
  font-weight: 900;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.3s, border-color 0.3s;
}

.btn-signup:hover {
  background-color: #bfa061;
}

/* Кнопка Sign In (например, прозрачная, с золотой рамкой и текстом) */
.btn-signin,
.btn-back {
  background-color: transparent;
  color: #ebd1a6;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.28px;
  font-family: 'GhlaszF', sans-serif;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid #b18927;
  /* тонкая золотая рамка */
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.3s, border-color 0.3s;
}

.btn-signin:hover,
.btn-back:hover {
  background-color: rgba(255, 255, 255, 0.1);
  /* лёгкая подсветка при hover */
}

a.btn-signup,
a.btn-signin,
a.btn-back {
  text-decoration: none;
}

/* ---------- Подвал (footer) ---------- */
/* Высота 40px (пример). Не сжимается. */
.footer {
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #0E0F11;
}

.footer-lock {
  width: 18px;
  height: 18px;
}

.footer-text {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.28px;
  font-weight: 500;
  color: #5C5E6A;
}


/* --- Форма. Общий контейнер --- */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* отступ между строками */
  width: 100%;
  max-width: 600px;
  /* или 500px, чтобы форма не растягивалась слишком широко */
  margin: 0 auto;
  /* центрируем */
}

/* ----- Строки (row) ----- */
.row {
  display: flex;
  width: 100%;
  justify-content: center;
  /* поля по центру */
}

/* Первая строка: две колонки */
.row1 {
  gap: 20px;
}

.row1 .field {
  width: calc(50% - 10px);
  /* две колонки в одной строке */
  min-width: 220px;
}

/* Вторая строка (Email): одна колонка */
.row2 .field,
.row3 .field {
  width: 100%;
  /* или 50%, на ваше усмотрение */
  min-width: 300px;
  margin: 0 auto;
}

/* ----- Поля (field) ----- */
.field {
  display: flex;
  flex-direction: column;
}

/* Подпись к полю */
.field label {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.28px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #FFF;
  /* белый или слегка сероватый */
  align-items: left;
  text-align: left;
  justify-content: left;
  /* слева */
}

/* Стили для автозаполненных полей в Webkit-браузерах (Chrome, Safari) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  box-shadow: 0 0 0 30px rgba(14, 15, 17) inset !important;
  -webkit-text-fill-color: #fff !important;
}

/* Стили для автозаполненных полей в Firefox */
input:-moz-autofill {
  box-shadow: 0 0 0 30px rgba(14, 15, 17) inset !important;
  -moz-text-fill-color: #fff !important;
}

/* Инпут (тёмный фон, скруглённые углы) */
.field input {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.32px;
  padding: 12px;
  border: 1px solid rgba(130, 150, 170, 0.35);
  border-radius: 8px;
  /* background-color: rgba(14, 15, 17, 0.30); */
  caret-color: #fff;
  /* Добавлено для белого курсора */
  background: transparent;
  color: #fff;
  outline: none;
  transition: border-color 0.3s;
}

.field input::placeholder {
  color: #5C5E6A;
  font-weight: 500;
}

/* Hover/focus: чуть более заметная рамка */
.field input:hover {
  border-color: rgba(130, 150, 170, 0.5);
}

.field input:focus {
  border-color: rgba(130, 150, 170, 0.8);
}

/* Стили для валидных полей */
.field input.valid {
  border-color: #28a745;
  /* зелёная рамка */
}

/* Стили для невалидных полей */
.field input.invalid {
  border-color: #dc3545;
  /* красная рамка */
}

/* ----- Чекбокс (option-row) ----- */
.option-row {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  /* по центру */
  gap: 10px;
  font-size: 16px;
  color: #fff;
  max-width: 500px;
  margin: 0 auto;
}

.option-row a {
  text-decoration: underline;
  color: #CAB071;
  /* золотистый */
}

.option-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  background: rgba(13, 13, 13, 0.3);
  /* #0D0D0D4D */
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* #FFFFFF33 */
  border-radius: 4px;
  padding: 2px;
  cursor: pointer;

  /* Убираем стандартный вид чекбокса */
  appearance: none;
  -webkit-appearance: none;
  position: relative;
}

/* Стили при отметке чекбокса */
.option-row input[type="checkbox"]:checked {
  background: #CAB170;
  border: 1px solid #CAB170;
}

.option-row input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid #000000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Универсальные стили для недоступных кнопок */
button:disabled {
  cursor: not-allowed;
  /* Указатель для недоступных кнопок */
  opacity: 0.4;
  /* Полупрозрачный вид */
  background-color: #CAB071;
  /* Убедимся, что фон одинаков */
}

/* Стили кнопки Create Account */
.btn-create-account {
  display: block;
  width: 200px;
  margin: 0 auto;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.32px;
  border-radius: 8px;
  border: none;
  background-color: #CAB071;
  color: #0E0F11;
  opacity: 0.4;
  /* Полупрозрачная */
  transition: opacity 0.3s, background-color 0.3s;
}

.btn-create-account:enabled {
  cursor: pointer;
  /* Меняем на pointer, когда кнопка доступна */
  opacity: 1;
  background-color: #bfa061;
}

/* Стили кнопки Login */
.btn-login {
  cursor: pointer;
  display: block;
  width: 200px;
  margin: 20px auto 0;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.32px;
  border-radius: 8px;
  border: none;
  background-color: #CAB071;
  color: #0E0F11;
  opacity: 0.4;
  /* Изначально полупрозрачная */
  transition: opacity 0.3s, background-color 0.3s;
}

.btn-login:enabled {
  cursor: pointer;
  /* Меняем на pointer, когда кнопка доступна */
  opacity: 1;
  /* Полностью видимая */
  background-color: #bfa061;
}

/* Стили кнопки Go Back */
.btn-back {
  width: 200px;
}

/* Кнопка Next */
.btn-next {
  background-color: #CAB071;
  color: #0E0F11;
  font-family: 'GhlaszF', sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.28px;
  font-weight: 900;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.3s;
  opacity: 0.4;
  /* Изначально полупрозрачная */
  margin-left: auto;
  /* Выровнять по правому краю */
  width: 200px;
}

.btn-next:enabled {
  opacity: 1;
  background-color: #CAB071;
}

.btn-next:hover:enabled {
  background-color: #bfa061;
}

/* Ссылки на одной строке */
.inline-links p {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #5C5E6A;
  /* Совпадает с цветом текста "Your personal data and chats are protected" */
  line-height: 20px;
}

.inline-links a {
  color: #5C5E6A;
  /* Цвет ссылки как текст */
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s;
}

.inline-links a:hover {
  color: #CAB071;
  /* Золотистый при наведении */
}

/* Центрирование блока загрузки */
.profile-upload-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Фото профиля (по умолчанию пустой круг) */
.profile-picture {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #2C2C2C;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 10px;
}

/* Если загружено изображение */
.profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Кнопка загрузки */
.upload-label {
  font-size: 18px;
  font-weight: 500;
  color: #EBD1A8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.upload-label img {
  width: 28px;
  height: 28px;
}

/* Стили для поля выбора страны */
.field select {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.32px;
  padding: 12px;
  border: 1px solid rgba(130, 150, 170, 0.35);
  border-radius: 8px;
  background-color: transparent;
  color: #fff;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s;
  appearance: none;
  /* Убираем стандартную стрелку */
  background-image: url('../images/dropdown-arrow.png');
  /* Иконка стрелки */
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  /* Отступ для стрелки */
  cursor: pointer;
}

/* Стилизация при наведении */
.field select:hover {
  border-color: rgba(130, 150, 170, 0.5);
}

/* Фокус */
.field select:focus {
  border-color: #CAB071;
}

/* Стилизация выпадающего списка */
.field select option {
  background-color: #0E0F11;
  color: #fff;
  padding: 10px;
  border: none;
  transition: background-color 0.3s;
}

/* Наведение на опцию */
.field select option:hover {
  background-color: rgba(202, 176, 113, 0.2);
  color: #CAB071;
}

/* Валидация полей */
.field input.valid,
.field select.valid {
  border-color: #28a745;
  /* Зелёная рамка для валидных полей */
}

.field input.invalid,
.field select.invalid {
  border-color: #dc3545;
  /* Красная рамка для невалидных полей */
}

/* Контейнер прогресса */
.progress-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  /* Уменьшено расстояние между шагами */
  margin: 10px auto;
  /* Уменьшено расстояние сверху */
  max-width: 600px;
  /* Совпадает с шириной формы */
  width: 100%;
  margin-bottom: 30px;
}

/* Стандартные шаги */
.progress-step {
  flex: 1;
  /* Равномерное распределение ширины */
  height: 6px;
  background-color: rgba(255, 255, 255, 0.2);
  /* Светлый полупрозрачный фон */
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

/* Активный шаг */
.progress-step.active {
  background-color: #CAB071;
  /* Золотой цвет для активного шага */
}

/* info */
.investment-alert {
  display: flex;
  align-items: center;
  background: #EBD1A812; /* Новый цвет фона */
  padding: 12px 16px;
  border-radius: 8px;
  gap: 10px;
  margin: 10px auto; /* Уменьшен отступ сверху и снизу */
  max-width: 600px; /* Ширина как у прогресс-бара */
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.investment-alert-icon {
  width: 20px;
  height: 20px;
}

.investment-alert-text {
  font-size: 14px;
  color: #ffffff;
  line-height: 20px;
  margin: 0;
  text-align: left;
} 

/* Разделительная линия после "Select all" */
.divider {
  width: 100%;
  max-width: 600px; /* Совпадает с шириной формы и прогресс-бара */
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2); /* Светлый полупрозрачный цвет */
  margin: 5px auto; /* Уменьшены отступы сверху и снизу */
} 

/* Уменьшение отступов между элементами на странице инвестиционного типа */
.investment-option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 5px 0; /* Уменьшенные вертикальные отступы */
  max-width: 600px; /* Совпадает с шириной формы */
}

/* Стилизация для блока Select All */
.select-all-row {
  justify-content: flex-start; /* Выровнять по левому краю */
  margin-left: 0; /* Убираем автоцентрирование */
}

/* Стилизация для блока I attract и I invest */
.investment-type-row {
  display: flex;
  justify-content: space-between; /* Выровнять по ширине */
  gap: 20px; /* Уменьшение пробелов между чекбоксами */
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

/* Стилизация для пары чекбоксов и текста */
.investment-checkbox-group {
  display: flex;
  align-items: center;
  gap: 5px; /* Минимальный отступ между чекбоксом и текстом */
}

/* Стилизация чекбоксов */
.investment-option-row input[type="checkbox"],
.investment-checkbox-group input[type="checkbox"] {
  width: 22px;
  height: 22px;
  background: rgba(13, 13, 13, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  margin-right: 5px; /* Уменьшение расстояния между чекбоксом и текстом */
}

/* Отображение галочки при выборе чекбокса */
.investment-option-row input[type="checkbox"]:checked,
.investment-checkbox-group input[type="checkbox"]:checked {
  background: #CAB170;
  border: 1px solid #CAB170;
}

.investment-option-row input[type="checkbox"]:checked::after,
.investment-checkbox-group input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid #000000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
} 

/* Контейнер для опций компании */
.investment-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px; /* Расстояние между строками и колонками */
  max-width: 600px;
}

.investment-checkbox-group {
  display: flex;
  align-items: left;
  gap: 10px;
}

/* ----- Контейнер для контента ----- */
.content {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.content-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  text-align: center;
  margin-bottom: 20px;
  color: #EBD1A8;
}

.content-section {
  margin-bottom: 30px;
}

.content-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: #CAB071;
  margin-bottom: 10px;
}

.content-section h3,
.content-section h4 {
  font-size: 22px;
  font-weight: 500;
  color: #EBD1A8;
  margin-bottom: 8px;
}

.content-section p {
  font-size: 16px;
  line-height: 24px;
  color: #A9ACBC;
  margin-bottom: 15px;
}

.content-section ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.content-section ul li {
  font-size: 16px;
  line-height: 24px;
  color: #A9ACBC;
  list-style-type: disc;
  margin-bottom: 10px;
}

.content-section ul li::marker {
  color: #CAB071;
}

