/**
 * Websirg - Start a Project / Project Intake Configurator Stylesheet
 * High-Tech Dark Hero, Interactive Visual Cards, Feature Multi-Select, and Assurance Bento
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --ws-primary: #f97316;
  --ws-primary-hover: #ea580c;
  --ws-primary-glow: rgba(249, 115, 22, 0.25);
  --ws-dark: #070b14;
  --ws-dark-surface: #0f172a;
  --ws-dark-border: rgba(255, 255, 255, 0.08);
  --ws-light-bg: #f8fafc;
  --ws-card-border: #e2e8f0;
  --ws-text-main: #0f172a;
  --ws-text-muted: #64748b;
  --ws-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body.ws-project-page {
  font-family: var(--ws-font) !important;
  color: var(--ws-text-main);
  background: var(--ws-light-bg);
  overflow-x: hidden;
}

/* =========================================================
   1. HERO SECTION (DARK, COMPACT, HIGH-TECH)
========================================================== */
.ws-project-hero {
  position: relative;
  background: var(--ws-dark);
  color: #ffffff;
  padding: 130px 0 50px;
  overflow: hidden;
  border-bottom: 1px solid var(--ws-dark-border);
}

.ws-proj-glow-1 {
  position: absolute;
  top: -120px;
  right: 12%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, rgba(249, 115, 22, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.ws-proj-glow-2 {
  position: absolute;
  bottom: -100px;
  left: 8%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.ws-proj-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.ws-proj-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.ws-proj-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: #fdba74;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ws-proj-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 14px;
}

.ws-proj-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 22px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   2. MAIN CONFIGURATOR SECTION
========================================================== */
.ws-project-main-section {
  padding: 50px 0 70px;
  position: relative;
  background: var(--ws-light-bg);
}

.ws-configurator-card {
  background: #ffffff;
  border: 1px solid var(--ws-card-border);
  border-radius: 20px;
  padding: 38px 40px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.ws-step-block {
  margin-bottom: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid #f1f5f9;
}

.ws-step-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ws-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ws-step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  flex-shrink: 0;
}

.ws-step-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ws-text-main);
  margin: 0;
  letter-spacing: -0.01em;
}

.ws-step-subtitle {
  font-size: 13px;
  color: var(--ws-text-muted);
  margin-top: 2px;
  margin-bottom: 0;
}

/* Visual Product Type Cards */
.ws-type-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 767px) {
  .ws-type-cards-grid {
    grid-template-columns: 1fr;
  }
}

.ws-type-card {
  position: relative;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  user-select: none;
}

.ws-type-card input[type="radio"] {
  display: none;
}

.ws-type-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.ws-type-card.is-selected,
.ws-type-card:has(input[type="radio"]:checked) {
  background: #fff7ed;
  border-color: #f97316;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.18);
}

.ws-type-icon {
  font-size: 24px;
  display: inline-block;
  margin-bottom: 2px;
}

.ws-type-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.ws-type-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.ws-type-card.is-selected .ws-type-name {
  color: #ea580c;
}

/* Feature Tag Selector Pills */
.ws-features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ws-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.ws-feature-pill input[type="checkbox"] {
  display: none;
}

.ws-feature-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.ws-feature-pill.is-active,
.ws-feature-pill:has(input[type="checkbox"]:checked) {
  background: #fff7ed;
  border-color: #fdba74;
  color: #ea580c;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.15);
}

/* Budget & Timeline Selectors */
.ws-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ws-choice-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.ws-choice-pill input[type="radio"] {
  display: none;
}

.ws-choice-pill:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.ws-choice-pill.is-active,
.ws-choice-pill:has(input[type="radio"]:checked) {
  background: #fff7ed;
  border-color: #f97316;
  color: #ea580c;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.12);
}

/* Form Controls */
.ws-form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-family: var(--ws-font);
  outline: none;
}

.ws-form-control:focus {
  background: #ffffff;
  border-color: var(--ws-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.ws-form-control::placeholder {
  color: #94a3b8;
  font-size: 13px;
}

textarea.ws-form-control {
  min-height: 110px;
  resize: vertical;
}

/* Submission Action */
.ws-proj-submit-wrap {
  margin-top: 25px;
}

.ws-proj-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 32px;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35);
  transition: all 0.25s ease;
  text-transform: uppercase;
}

.ws-proj-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.45);
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
}

/* =========================================================
   3. SIDEBAR BENTO HIGHLIGHTS (RIGHT COLUMN)
========================================================== */
.ws-proj-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ws-proj-side-card {
  background: #ffffff;
  border: 1px solid var(--ws-card-border);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.ws-proj-side-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ws-text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ws-sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.ws-side-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ws-side-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
}

.ws-check-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #10b981;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* WhatsApp Instant Box */
.ws-side-wa-box {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-radius: 16px;
  padding: 20px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
  transition: all 0.25s ease;
}

.ws-side-wa-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.4);
  color: #ffffff;
}

.ws-side-wa-btn {
  background: #ffffff;
  color: #047857;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 991px) {
  .ws-project-hero {
    padding: 110px 0 45px;
  }
  .ws-proj-title {
    font-size: 32px;
  }
  .ws-configurator-card {
    padding: 24px 20px;
  }
}
