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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #fdf7f2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  background: #080504;
}

#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hero-card {
  background: rgba(8, 5, 4, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(207, 185, 165, 0.08);
  border-radius: 24px;
  padding: 48px 56px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 8px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(253, 247, 242, 0.04);
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.brand-logo {
  width: 128px;
  height: 128px;
  object-fit: contain;
}

.brand-name {
  height: 64px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
}

.tagline {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b78573;
  margin-bottom: 14px;
}

.description {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(253, 247, 242, 0.65);
  margin-bottom: 28px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.divider {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 67, 39, 0.5), transparent);
  margin: 0 auto 24px;
}

.contact-form {
  text-align: left;
  margin-bottom: 20px;
}

.form-title {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(253, 247, 242, 0.55);
  margin-bottom: 14px;
  text-align: center;
  line-height: 1.5;
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.input-wrap {
  flex: 1;
  display: flex;
}

input,
textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #fdf7f2;
  background: rgba(253, 247, 242, 0.04);
  border: 1px solid rgba(207, 185, 165, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: rgba(253, 247, 242, 0.2);
}

input:focus,
textarea:focus {
  border-color: rgba(180, 92, 60, 0.4);
  background: rgba(253, 247, 242, 0.06);
  box-shadow: 0 0 0 3px rgba(180, 92, 60, 0.08);
}

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

button[type="submit"] {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fdf7f2;
  background: linear-gradient(135deg, #9a4327, #b45c3c);
  border: none;
  border-radius: 10px;
  padding: 11px 24px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 2px;
}

button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(154, 67, 39, 0.25);
}

button[type="submit"]:active {
  transform: translateY(0);
}

button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-feedback {
  margin-top: 10px;
  font-size: 0.8rem;
  text-align: center;
  min-height: 0;
  transition: all 0.3s;
  border-radius: 8px;
  padding: 0;
  line-height: 1.5;
}

.form-feedback.success {
  color: #5aad6b;
  padding: 10px 16px;
  background: rgba(90, 173, 107, 0.08);
  border: 1px solid rgba(90, 173, 107, 0.2);
}

.form-feedback.error {
  color: #e07474;
  padding: 10px 16px;
  background: rgba(224, 116, 116, 0.08);
  border: 1px solid rgba(224, 116, 116, 0.12);
}

.footer {
  padding-top: 18px;
  border-top: 1px solid rgba(207, 185, 165, 0.05);
}

.footer a {
  color: rgba(253, 247, 242, 0.3);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.footer a:hover {
  color: #b78573;
}

@media (max-width: 640px) {
  .hero {
    padding: 16px;
  }

  .hero-card {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .brand-logo {
    width: 100px;
    height: 100px;
  }

  .brand-name {
    height: 48px;
  }

  .tagline {
    font-size: 0.7rem;
  }

  .description {
    font-size: 0.88rem;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 400px) {
  .hero-card {
    padding: 20px 14px;
  }

  .brand-logo {
    width: 84px;
    height: 84px;
  }

  .brand-name {
    height: 40px;
  }
}
