* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

.quote-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px;
}

.form-card {
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  color: #111827;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.form-header {
  text-align: center;
  margin-bottom: 35px;
}

.badge {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 14px;
}

.form-header h1 {
  font-size: 34px;
  margin: 0 0 12px;
}

.form-header p {
  max-width: 650px;
  margin: 0 auto;
  color: #4b5563;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

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

.form-group.full {
  grid-column: span 2;
}

label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #1f2937;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
  background: #f9fafb;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

textarea {
  resize: vertical;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 25px 0;
  font-weight: normal;
  color: #374151;
}

.checkbox input {
  width: auto;
  margin-top: 4px;
}

button {
  width: 100%;
  border: none;
  padding: 17px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}

#formMessage {
  text-align: center;
  margin-top: 18px;
  font-weight: bold;
}

.success {
  color: #16a34a;
}

.error {
  color: #dc2626;
}

@media (max-width: 720px) {
  .form-card {
    padding: 26px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

  .form-header h1 {
    font-size: 27px;
  }
}

.honeypot {
  display: none;
}

.popup {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup.active {
  display: flex;
}

.popup-box {
  background: white;
  color: #111827;
  padding: 35px;
  border-radius: 22px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.popup-box h2 {
  margin-top: 0;
}

.popup-box button {
  margin-top: 20px;
}

/* Felső menüsáv */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.2s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.nav-links .nav-cta {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  margin-left: 6px;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  margin: 5px 0;
  border-radius: 999px;
}

.quote-section {
  padding-top: 120px;
}

@media (max-width: 720px) {
  .navbar {
    padding: 12px 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    background: #0f172a;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .quote-section {
    padding-top: 110px;
  }
}
