:root {
  --bg-main: #030807;
  --bg-deep: #06110d;
  --bg-card: rgba(13, 31, 25, 0.78);
  --bg-card-solid: #0e2019;
  --bg-soft: rgba(255, 255, 255, 0.055);
  --green: #8ee600;
  --green-dark: #5db700;
  --green-soft: rgba(142, 230, 0, 0.12);
  --green-line: rgba(142, 230, 0, 0.34);
  --text: #f4fff7;
  --muted: #a9b9af;
  --muted-dark: #718178;
  --line: rgba(255, 255, 255, 0.12);
  --danger: #ff765f;
  --radius-small: 12px;
  --radius-medium: 18px;
  --radius-large: 28px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 75% 0%, rgba(142, 230, 0, 0.12), transparent 32%),
    radial-gradient(circle at 10% 30%, rgba(142, 230, 0, 0.06), transparent 28%),
    linear-gradient(180deg, #07110d, #020605 68%);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 86px 0;
}

.section--compact {
  padding: 54px 0;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  color: #dfffbc;
  background: var(--green-soft);
  font-size: 13px;
  margin-bottom: 14px;
}

.section-title {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.section-subtitle {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.035)
    );
  box-shadow: var(--shadow);
}

.card:hover {
  border-color: rgba(142, 230, 0, 0.24);
}

.card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  color: var(--green);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid rgba(142, 230, 0, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #102000;
  font-weight: 800;
  cursor: pointer;
  transition: 0.22s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(142, 230, 0, 0.2);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--green-line);
  background: rgba(142, 230, 0, 0.09);
}

.btn--small {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 13px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  transition: 0.2s;
}

.icon-btn:hover {
  border-color: var(--green-line);
  color: var(--green);
}

input,
select,
textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  outline: none;
  transition: 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-line);
  box-shadow: 0 0 0 4px rgba(142, 230, 0, 0.08);
}

input::placeholder,
textarea::placeholder {
  color: #8fa096;
}

select option {
  background: #07110d;
  color: var(--text);
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
}

.modal.open {
  display: flex;
}

.modal img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #102000;
  font-size: 26px;
  cursor: pointer;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 150;
  transform: translateX(-50%) translateY(120px);
  padding: 14px 18px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  background: rgba(3, 8, 7, 0.88);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: 0.3s;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}
