.free-host-page {
  padding: 32px 0 56px;
}

.container-free {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.free-host-hero,
.panel-screenshots,
.cms-list,
.free-host-form-card {
  background: rgba(26, 26, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.free-host-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
  gap: 24px;
  padding: 32px;
  margin-bottom: 24px;
}

.free-host-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(87, 79, 218, 0.14);
  color: #8f87ff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.free-host-hero h1,
.free-host-section-heading h2,
.free-host-form-card__intro h2,
.free-host-info-card h2 {
  margin: 0 0 12px;
  color: #8f87ff;
}

.free-host-lead,
.free-host-seo-line,
.free-host-section-heading p,
.free-host-form-card__intro p,
.free-host-form__hint,
.free-host-info-card p,
.modalWrapper p {
  color: #c7c7c7;
}

.free-host-seo-line {
  margin-top: 14px;
  font-size: 0.92rem;
}

.free-host-bullets,
.free-host-info-card ul,
.cms-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.free-host-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.free-host-bullets li,
.free-host-info-card li,
.cms-list li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.free-host-bullets li {
  padding: 14px 16px;
}

.free-host-info-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
}

.free-host-info-card ul {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.free-host-info-card li {
  padding: 12px 14px;
}

.panel-screenshots,
.cms-list,
.free-host-form-card {
  padding: 28px;
  margin-bottom: 24px;
}

.free-host-section-heading {
  margin-bottom: 18px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.screenshot-grid img {
  width: 100%;
  border-radius: 18px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.cms-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.cms-list li {
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
  color: #fff;
}

.free-host-form-card__intro {
  margin-bottom: 22px;
}

.free-host-form {
  display: grid;
  gap: 22px;
}

.free-host-form__section {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.free-host-form__section legend {
  padding: 0 10px;
  color: #fff;
  font-weight: 700;
}

.free-host-form__grid {
  display: grid;
  gap: 16px;
}

.free-host-form__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.free-host-field {
  display: grid;
  gap: 8px;
}

.free-host-field label,
.free-host-check span {
  color: #f0f0f0;
  font-size: 0.95rem;
  font-weight: 600;
}

.free-host-field input,
.free-host-field textarea,
.free-host-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #303030;
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.free-host-field textarea {
  min-height: 140px;
  resize: vertical;
}

.free-host-field input:focus,
.free-host-field textarea:focus,
.free-host-field select:focus {
  outline: none;
  border-color: rgba(143, 135, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(143, 135, 255, 0.14);
}

.free-host-field--invalid input,
.free-host-field--invalid textarea,
.free-host-field--invalid select {
  border-color: rgba(255, 99, 99, 0.95);
  box-shadow: 0 0 0 4px rgba(255, 99, 99, 0.12);
}

.free-host-field__error {
  min-height: 18px;
  font-size: 0.86rem;
  color: #ff8d8d;
}

.free-host-form__status {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.free-host-form__status--error {
  border-color: rgba(255, 99, 99, 0.35);
  background: rgba(255, 99, 99, 0.1);
}

.free-host-form__status--success {
  border-color: rgba(46, 204, 113, 0.35);
  background: rgba(46, 204, 113, 0.12);
}

.free-host-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.free-host-check input {
  margin-top: 3px;
}

.free-host-form__actions {
  display: grid;
  gap: 12px;
}

.free-host-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button2 {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #574fda, #7b72ff);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 28px rgba(87, 79, 218, 0.24);
}

.button2:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button2:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#successMessageModal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#successMessageModal.show {
  display: flex;
}

.modalWrapper {
  background-color: #212121;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  width: min(92vw, 500px);
}

.modalWrapper h2 {
  font-size: 1.6rem;
  color: #2ecc71;
  margin: 0 0 14px;
}

.checkmarkBox {
  display: inline-block;
  margin-top: 20px;
}

.checkmark {
  width: 60px;
  height: 60px;
  border: 6px solid #2ecc71;
  border-radius: 50%;
  position: relative;
  animation: checkmarkAnimation 1.2s ease-in-out forwards;
}

.checkmark::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 14px;
  width: 24px;
  height: 12px;
  border: 4px solid #2ecc71;
  border-left: none;
  border-bottom: none;
  opacity: 0;
  animation: drawCheckmarkLine 0.6s ease-in-out 0.5s forwards;
}

@keyframes checkmarkAnimation {
  0% { width: 0; height: 0; border-width: 0; }
  100% { width: 60px; height: 60px; border-width: 6px; }
}

@keyframes drawCheckmarkLine {
  0% { opacity: 0; transform: rotate(135deg) scale(0); }
  100% { opacity: 1; transform: rotate(135deg) scale(1); }
}

@media (max-width: 900px) {
  .free-host-hero,
  .free-host-form__grid--two,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .free-host-bullets {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .free-host-page {
    padding-top: 20px;
  }

  .container-free {
    padding: 0 14px;
  }

  .free-host-hero,
  .panel-screenshots,
  .cms-list,
  .free-host-form-card {
    padding: 20px;
    border-radius: 18px;
  }

  .free-host-form__section {
    padding: 14px;
  }
}
