* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #111827;
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar {
  background: #0f172a;
  color: white;
  padding: 18px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.brand h1 {
  margin: 0;
  font-size: 20px;
}

.brand p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #cbd5e1;
}

nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

nav a {
  color: #e5e7eb;
  font-size: 14px;
}

.nav-btn {
  background: #f97316;
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: bold;
}

.hero {
  min-height: 78vh;
  padding: 70px 6%;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.16), transparent 35%),
    linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
}

.hero-content h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  margin: 18px 0;
}

.hero-content p {
  font-size: 18px;
  color: #d1d5db;
  max-width: 720px;
}

.badge {
  display: inline-block;
  background: #ffedd5;
  color: #9a3412;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn,
.small-btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 14px;
  transition: 0.2s ease;
}

.primary-btn {
  background: #f97316;
  color: white;
  padding: 14px 20px;
}

.secondary-btn {
  background: white;
  color: #0f172a;
  padding: 14px 20px;
}

.small-btn {
  background: #0f172a;
  color: white;
  padding: 10px 14px;
  font-size: 13px;
}

.primary-btn:hover,
.secondary-btn:hover,
.small-btn:hover,
.nav-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.full-btn {
  width: 100%;
  text-align: center;
}

.trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.trust-row div {
  background: rgba(255, 255, 255, 0.1);
  padding: 18px;
  border-radius: 18px;
  min-width: 140px;
}

.trust-row strong {
  display: block;
  font-size: 26px;
  color: #fb923c;
}

.trust-row span {
  color: #d1d5db;
  font-size: 13px;
}

.hero-card,
.unlock-card,
.form-card,
.notice-card,
.worker-card,
.category-card {
  background: white;
  color: #111827;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.hero-card h3 {
  margin-top: 0;
}

.step {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.step span {
  min-width: 34px;
  min-height: 34px;
  background: #f97316;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.section {
  padding: 60px 6%;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-heading h2,
.page-hero h2,
.form-info h2,
.unlock-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 14px 0;
}

.section-heading p,
.page-hero p,
.form-info p {
  color: #4b5563;
  font-size: 17px;
}

.category-grid,
.worker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  min-height: 250px;
}

.category-emoji {
  font-size: 38px;
  margin-bottom: 16px;
}

.category-card h3,
.worker-card h3 {
  margin: 0 0 10px;
}

.category-card p,
.worker-card p {
  color: #4b5563;
  line-height: 1.5;
}

.cta-section {
  margin: 40px 6% 70px;
  border-radius: 30px;
  padding: 50px;
  text-align: center;
  background: #0f172a;
  color: white;
}

.cta-section p {
  color: #cbd5e1;
}

.page-hero {
  padding: 55px 6%;
  background: white;
}

.form-page {
  padding: 60px 6%;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.form-card label {
  display: block;
  margin-bottom: 18px;
  font-weight: bold;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 14px;
  font-size: 15px;
}

.form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.notice-card {
  margin-top: 20px;
  background: #fff7ed;
  box-shadow: none;
  border: 1px solid #fed7aa;
}

.small-text {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.worker-avatar {
  width: 60px;
  height: 60px;
  background: #ffedd5;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 16px;
}

.worker-tag {
  display: block;
  background: #eef2ff;
  color: #3730a3;
  padding: 10px;
  border-radius: 12px;
  margin: 16px 0;
  font-size: 13px;
}

.unlock-page {
  min-height: 80vh;
  padding: 60px 6%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.unlock-card {
  max-width: 680px;
  width: 100%;
}

.lead-preview {
  background: #f9fafb;
  border-radius: 18px;
  padding: 18px;
  margin: 20px 0;
}

.locked-box {
  background: #fff7ed;
  border: 1px dashed #f97316;
  padding: 20px;
  border-radius: 18px;
  margin-bottom: 20px;
}

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
}

.chat-toggle {
  background: #f97316;
  color: white;
  border: none;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: bold;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  cursor: pointer;
}

.chat-window {
  width: 340px;
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
  margin-bottom: 12px;
}

.hidden {
  display: none;
}

.chat-header {
  background: #0f172a;
  color: white;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header button {
  background: transparent;
  color: white;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.chat-messages {
  padding: 14px;
  height: 230px;
  overflow-y: auto;
  background: #f8fafc;
}

.bot-message,
.user-message {
  padding: 10px 12px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.bot-message {
  background: white;
  color: #111827;
}

.user-message {
  background: #f97316;
  color: white;
  margin-left: 40px;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #e5e7eb;
}

.quick-replies button {
  border: none;
  background: #ffedd5;
  color: #9a3412;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
}

.chat-input-row {
  display: flex;
  border-top: 1px solid #e5e7eb;
}

.chat-input-row input {
  flex: 1;
  border: none;
  padding: 14px;
  outline: none;
}

.chat-input-row button {
  border: none;
  background: #0f172a;
  color: white;
  padding: 0 16px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .form-page {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .worker-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chat-window {
    width: calc(100vw - 44px);
  }
}

@media (max-width: 560px) {

  .category-grid,
  .worker-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .cta-section {
    padding: 32px 20px;
  }
}

.dashboard-page {
  padding: 60px 6%;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}

.dashboard-header h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 14px 0;
}

.dashboard-header p {
  color: #4b5563;
  font-size: 17px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dashboard-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
}

.dashboard-card h3 {
  margin-top: 0;
}

.inner-section {
  padding-left: 0;
  padding-right: 0;
}

.success-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 18px;
  border-radius: 18px;
  margin: 16px 0;
}

.filter-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-row select,
.filter-row input {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  min-width: 220px;
  font-size: 15px;
}

@media (max-width: 900px) {
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .filter-row {
    flex-direction: column;
  }

  .filter-row select,
  .filter-row input,
  .filter-row button {
    width: 100%;
  }
}