* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 0;
  padding: 24px;
  background: #0a0a0a;
  min-height: 100vh;
  color: #ffffff;
}
.container {
  max-width: 800px;
  margin: 0 auto;
}
h1 {
  font-size: 2.2rem;
  margin: 0 0 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #00ff88 0%, #00ccff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}
h2 {
  font-size: 1.3rem;
  color: #00ff88;
  border-bottom: 2px solid #333333;
  padding-bottom: 8px;
  margin-top: 32px;
}
h3 {
  font-size: 1.3rem;
  color: #00ff88;
  border-bottom: 2px solid #333333;
  padding-bottom: 8px;
  margin: 0 0 20px;
}
h4 {
  color: #00ccff;
  margin: 16px 0 8px;
  font-size: 1rem;
}
.form-section {
  margin-bottom: 32px;
}
form {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,255,136,0.1);
  margin-bottom: 24px;
  border: 1px solid #333333;
}
.form-group {
  margin-bottom: 24px;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #cccccc;
}
select, input, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #333333;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
  background: #2a2a2a;
  color: #ffffff;
}
select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: #00ff88;
  box-shadow: 0 0 0 3px rgba(0,255,136,0.1);
}
textarea {
  resize: vertical;
  min-height: 100px;
}
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.checkbox-item {
  display: flex;
  align-items: center;
}
.checkbox-item input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  cursor: pointer;
}
.checkbox-item label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: normal;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
  cursor: pointer;
}

/* Feature Categories */
.feature-explainer {
  color: #cccccc;
  font-size: 0.9rem;
  margin: 8px 0 20px;
  padding: 12px;
  background: rgba(0,204,255,0.05);
  border-left: 3px solid #00ccff;
  border-radius: 4px;
}
.feature-explainer strong {
  color: #00ff88;
}
.feature-category {
  margin: 24px 0;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  border: 1px solid #333333;
  transition: border-color 0.3s;
}
.feature-category:hover {
  border-color: #00ff88;
}
.category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px 0;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
}
.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
}
.feature-category:nth-child(1) .category-icon {
  background: rgba(0,255,136,0.15);
  color: #00ff88;
}
.feature-category:nth-child(2) .category-icon {
  background: rgba(0,204,255,0.15);
  color: #00ccff;
}
.feature-category:nth-child(3) .category-icon {
  background: rgba(255,165,0,0.15);
  color: #ffa500;
}
.category-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
}
.category-badge.free {
  background: rgba(0,255,136,0.15);
  color: #00ff88;
  border: 1px solid rgba(0,255,136,0.3);
}
.category-badge.standard {
  background: rgba(0,204,255,0.15);
  color: #00ccff;
  border: 1px solid rgba(0,204,255,0.3);
}
.category-badge.premium {
  background: rgba(255,165,0,0.15);
  color: #ffa500;
  border: 1px solid rgba(255,165,0,0.3);
}
.feature-category .checkbox-group {
  margin-top: 0;
}

#submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #00ff88 0%, #00ccff 100%);
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 24px;
}
.privacy-notice {
  background: rgba(59,130,246,0.05);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  text-align: center;
}
.privacy-notice p {
  margin: 0;
  color: #cccccc;
  line-height: 1.6;
}
.privacy-notice small {
  font-size: 0.85rem;
}
.privacy-link {
  color: #3b82f6;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}
.privacy-link:hover {
  color: #60a5fa;
}
#submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,255,136,0.3);
}
#submit-btn:disabled {
  background: #333333;
  color: #666666;
  cursor: not-allowed;
  transform: none;
}
.hidden {
  display: none !important;
}
#loading {
  text-align: center;
  color: #00ff88;
  margin: 20px 0;
  font-weight: bold;
  font-size: 1.1rem;
}
#error {
  text-align: center;
  color: #ff4444;
  margin: 20px 0;
  font-weight: bold;
  background: rgba(255,68,68,0.1);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #ff4444;
}
#result {
  background: #1a1a1a;
  padding: 32px;
  border-radius: 16px;
  margin-top: 24px;
  border: 1px solid #333333;
  box-shadow: 0 20px 40px rgba(0,255,136,0.1);
}
#result h2, #result h3 {
  color: #00ff88;
  border-bottom: 2px solid #333333;
  padding-bottom: 12px;
  margin-top: 0;
}
.estimate-note {
  background: rgba(0,204,255,0.05);
  border-left: 3px solid #00ccff;
  padding: 12px 16px;
  margin: 16px 0 24px;
  color: #cccccc;
  font-size: 0.9rem;
  line-height: 1.6;
  border-radius: 4px;
}
#result p {
  font-size: 1.1rem;
  margin: 16px 0;
  color: #cccccc;
}
#result span {
  color: #00ff88;
  font-weight: 700;
}
#result h3 {
  color: #00ccff;
  margin-top: 24px;
  margin-bottom: 12px;
}
#result h4 {
  color: #00ccff;
  margin-top: 0;
  margin-bottom: 8px;
}
.estimate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.estimate-item {
  background: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #333333;
  text-align: center;
}
.estimate-item .value {
  font-size: 1.5rem;
  color: #00ff88;
  font-weight: 700;
  margin-top: 8px;
}
.estimate-item .range-note {
  font-size: 0.75rem;
  color: #999;
  margin-top: 8px;
  font-style: italic;
}
.range-explanation {
  background: rgba(0,204,255,0.05);
  border-left: 3px solid #00ccff;
  padding: 16px;
  margin: 24px 0;
  border-radius: 4px;
}
.range-explanation p {
  color: #cccccc;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
.range-explanation strong {
  color: #00ccff;
}
.priorities {
  margin-top: 24px;
}
.whats-included {
  margin: 24px 0;
  padding: 20px;
  background: #2a2a2a;
  border-radius: 8px;
  border: 1px solid #333333;
}
.whats-included h4 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #00ccff;
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.included-item {
  color: #cccccc;
  font-size: 0.95rem;
  padding: 8px;
  background: rgba(0,255,136,0.05);
  border-radius: 4px;
  border-left: 2px solid #00ff88;
}
.included-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #333333;
  color: #999;
  font-size: 0.85rem;
  line-height: 1.5;
}
.included-note small {
  display: block;
}
.success {
  background: rgba(0,255,136,0.1);
  border: 1px solid #00ff88;
  border-radius: 8px;
  padding: 16px;
  margin-top: 24px;
  color: #cccccc;
  text-align: center;
}
.success strong {
  color: #00ff88;
}
.footer {
  max-width: 800px;
  margin: 48px auto 24px;
  padding: 24px;
  border-top: 1px solid #333333;
}
.disclaimer {
  background: rgba(255,165,0,0.05);
  border: 1px solid rgba(255,165,0,0.2);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}
.disclaimer h4 {
  color: #ffa500;
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.disclaimer p {
  color: #cccccc;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 12px 0;
}
.disclaimer strong {
  color: #ffa500;
  display: block;
  margin-bottom: 4px;
}
.footer-links {
  text-align: center;
  color: #666666;
  font-size: 0.85rem;
}
.footer-links p {
  margin: 8px 0;
}
details {
  cursor: pointer;
}
details summary {
  outline: none;
  transition: color 0.2s;
}
details summary:hover {
  color: #60a5fa;
}
details[open] summary {
  margin-bottom: 8px;
}
details a {
  text-decoration: none;
  transition: color 0.2s;
}
details a:hover {
  color: #60a5fa;
  text-decoration: underline;
}
#result-priorities {
  padding-left: 24px;
  color: #cccccc;
}
#result-priorities li {
  margin-bottom: 8px;
  line-height: 1.6;
}
/* Help Tooltips */
.help-tooltip {
  background: none;
  border: none;
  color: #00ccff;
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
  vertical-align: middle;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
}
.help-tooltip:hover {
  color: #00ff88;
}
.help-tooltip svg {
  width: 16px;
  height: 16px;
}
.tooltip-content {
  background: #2a2a2a;
  border: 1px solid #00ccff;
  border-radius: 8px;
  padding: 16px;
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cccccc;
}
.tooltip-content p {
  margin: 0 0 8px;
}
.tooltip-content strong {
  color: #00ccff;
}
.tooltip-content ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.tooltip-content li {
  margin-bottom: 6px;
}

/* Progressive Disclosure Toggle */
.disclosure-toggle {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.2s;
}
.disclosure-toggle:hover {
  opacity: 0.8;
}
.disclosure-toggle h4 {
  margin: 0;
  color: #ffa500;
  font-size: 1.1rem;
}
.toggle-icon {
  color: #ffa500;
  font-size: 0.8rem;
  transition: transform 0.3s;
  display: inline-block;
}
.disclosure-toggle.open .toggle-icon {
  transform: rotate(90deg);
}
.disclosure-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.disclosure-content.open {
  max-height: 2000px;
  transition: max-height 0.5s ease-in;
}
.disclosure-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,165,0,0.2);
}
.disclosure-section:first-child {
  border-top: none;
  padding-top: 0;
}
.disclosure-section h5 {
  color: #ffa500;
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 600;
}
.disclosure-section p {
  color: #cccccc;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 8px 0;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  background: #1a1a1a;
  border: 2px solid #000000;
  border-radius: 16px;
  padding: 32px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 1001;
}
.modal-content h3 {
  margin-top: 0;
  color: #ffffff;
  border-bottom: 2px solid #333333;
  padding-bottom: 12px;
}
.modal-content h4 {
  color: #00ccff;
  margin-top: 20px;
  margin-bottom: 8px;
}
.modal-section {
  margin-bottom: 20px;
}
.modal-section p {
  color: #cccccc;
  line-height: 1.6;
  margin: 8px 0;
}
.modal-section ul {
  color: #cccccc;
  padding-left: 20px;
  margin: 8px 0;
}
.modal-section li {
  margin-bottom: 8px;
  line-height: 1.5;
}
.modal-section strong {
  color: #00ff88;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #cccccc;
  font-size: 32px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  line-height: 1;
}
.modal-close:hover {
  color: #ff4444;
}
.modal-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #00ff88 0%, #00ccff 100%);
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
  margin-top: 16px;
}
.modal-btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  body {
    padding: 16px;
  }
  form {
    padding: 24px;
  }
  h1 {
    font-size: 1.8rem;
  }
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  .feature-category {
    padding: 16px;
    margin: 16px 0;
  }
  .category-title {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
  }
  .category-badge {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  .modal-content {
    padding: 24px;
    max-height: 90vh;
  }
  .modal {
    padding: 10px;
  }
}