:root {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #0f172a;
}

body {
  margin: 0;
  background: #f5f7fb;
  line-height: 1.7;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.hd-hero {
  background: linear-gradient(120deg, #0f6efc, #5b1bff);
  color: #fff;
  padding: 56px 0 48px;
}

.hd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.hd-subtitle {
  margin: 0 0 12px;
  opacity: 0.95;
  font-size: 1.2rem;
}

.wc-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.wc-bullets span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.hd-hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.hd-main {
  padding: 40px 0 60px;
}

.wc-grid {
  display: grid;
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.card-head.small h3 {
  margin: 0;
}

.hd-tool-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hd-field textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 1rem;
  min-height: 170px;
}

.hd-options {
  display: grid;
  gap: 10px;
}

.hd-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
}

.hd-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.primary-btn {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  border: none;
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.35);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.45);
}

.ghost-btn {
  background: #eef2ff;
  border: 1px solid #cbd5f5;
  color: #1d4ed8;
}

.ghost-btn:hover {
  background: #e0e7ff;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
}

.hd-alert {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid transparent;
}

.hd-alert.error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.hd-alert.success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.hd-result-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hd-result-single textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 1.1rem;
}

.hd-table {
  display: grid;
  gap: 8px;
}

.hd-table .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.hd-stats {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.hd-section h2 {
  margin-top: 0;
}

.hd-steps {
  margin: 0;
  padding-left: 18px;
  color: #475569;
}

.hd-faq details {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #f8fafc;
}

.hd-faq summary {
  cursor: pointer;
  font-weight: 700;
}

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

@media (max-width: 960px) {
  body {
    overflow-x: hidden;
  }
  .hd-hero-grid {
    grid-template-columns: 1fr;
  }
  .hd-hero {
    padding: 32px 0;
  }
  .hd-main {
    padding: 24px 0 36px;
  }
  .card {
    padding: 16px;
    border-radius: 16px;
  }
  .hd-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-row {
    flex-direction: column;
  }
  .hd-table .row {
    grid-template-columns: 1fr;
  }
}
