:root {
  --navy: #0d1b2a;
  --navy-light: #1a2e44;
  --gold: #d9c48f;
  --text-light: #e8e3d8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--navy);
  color: var(--navy);
}

/* ---------- דף נחיתה ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 20, 38, 0.5) 0%,
    rgba(6, 20, 38, 0.72) 55%,
    rgba(6, 20, 38, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px 40px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 24px 0 0;
}

.hero-text {
  padding-top: 40px;
  flex: 1;
}

.hero-text .eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  margin: 0 0 8px;
  font-weight: 600;
}

.hero-text h1 {
  font-size: 30px;
  color: var(--white);
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.35;
}

.hero-text p {
  font-size: 15px;
  color: var(--text-light);
  margin: 12px 0 0;
  line-height: 1.6;
}

.agent-card {
  margin-top: 28px;
  padding: 16px 18px;
  background: rgba(10, 25, 45, 0.55);
  border: 1px solid rgba(217, 196, 143, 0.4);
  border-radius: 10px;
}

.agent-card .agent-name {
  font-size: 15px;
  color: var(--white);
  font-weight: 600;
  margin: 0;
}

.agent-card .agent-role {
  font-size: 13px;
  color: var(--gold);
  margin: 4px 0 0;
}

.contact-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-light);
}

.contact-row a {
  color: var(--text-light);
  text-decoration: none;
}

.form-card {
  margin: 26px 0 30px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.form-card h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-light);
  margin: 0 0 16px;
}

.form-card label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

.form-row {
  margin-bottom: 14px;
}

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

.form-row-split .form-row {
  flex: 1;
}

input,
select {
  width: 100%;
  height: 42px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--navy-light);
}

.submit-btn {
  width: 100%;
  height: 46px;
  margin-top: 6px;
  background: var(--navy-light);
  color: var(--gold);
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.submit-btn:hover {
  opacity: 0.92;
}

.form-message {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
}

.form-message.success {
  color: #1a7a3a;
}

.form-message.error {
  color: #b3261e;
}

/* ---------- עמוד לידים ---------- */

.admin-page {
  min-height: 100vh;
  background: #f4f2ec;
  padding: 30px 16px;
}

.admin-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.admin-wrap h1 {
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 20px;
}

.login-box {
  max-width: 360px;
  margin: 60px auto;
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.login-box h2 {
  margin-top: 0;
  color: var(--navy);
}

.login-box input {
  margin-bottom: 12px;
}

.login-box button {
  width: 100%;
  height: 42px;
  background: var(--navy-light);
  color: var(--gold);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.login-error {
  color: #b3261e;
  font-size: 13px;
  margin-top: 8px;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.leads-table th,
.leads-table td {
  text-align: right;
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}

.leads-table th {
  background: var(--navy);
  color: var(--gold);
  font-weight: 600;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-new {
  background: #fdecc8;
  color: #8a5a00;
}

.status-contacted {
  background: #d9f0d9;
  color: #1a7a3a;
}

.row-actions {
  display: flex;
  gap: 8px;
}

.row-actions button {
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}

.btn-done {
  background: #1a7a3a;
  color: #fff;
}

.btn-delete {
  background: #b3261e;
  color: #fff;
}

.empty-state {
  text-align: center;
  padding: 40px 10px;
  color: #888;
}

@media (min-width: 640px) {
  .hero-content {
    max-width: 520px;
  }
}
