* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HAL Matex font - Add font files to your project and uncomment/update paths */
/* @font-face {
  font-family: 'HAL Matex';
  src: url('./fonts/HALMatex-Regular.woff2') format('woff2'),
       url('./fonts/HALMatex-Regular.woff') format('woff'),
       url('./fonts/HALMatex-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'HAL Matex';
  src: url('./fonts/HALMatex-Medium.woff2') format('woff2'),
       url('./fonts/HALMatex-Medium.woff') format('woff'),
       url('./fonts/HALMatex-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'HAL Matex';
  src: url('./fonts/HALMatex-SemiBold.woff2') format('woff2'),
       url('./fonts/HALMatex-SemiBold.woff') format('woff'),
       url('./fonts/HALMatex-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'HAL Matex';
  src: url('./fonts/HALMatex-Bold.woff2') format('woff2'),
       url('./fonts/HALMatex-Bold.woff') format('woff'),
       url('./fonts/HALMatex-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
} */

body {
  font-family: 'HAL Matex', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #000000;
  background-image: url('bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.modal-overlay {
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.modal {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid #e8e8e8;
}

.modal-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

form {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 14px;
  font-weight: 500;
  color: #2d2d2d;
  letter-spacing: -0.01em;
}

input,
textarea {
  padding: 12px 16px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  letter-spacing: -0.01em;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #9a9a9a;
}

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

.submit-btn {
  margin-top: 8px;
  padding: 14px 24px;
  background: #ff6b35;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  letter-spacing: -0.01em;
  font-family: inherit;
}

.submit-btn:hover {
  background: #ff5722;
}

.submit-btn:active {
  transform: scale(0.98);
}

.hidden {
  display: none;
}

.thank-you-content {
  padding: 48px 32px;
  text-align: center;
}

.thank-you-content p {
  font-size: 16px;
  color: #2d2d2d;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .modal-header,
  form {
    padding: 24px;
  }

  .modal-header h2 {
    font-size: 20px;
  }
}
