 :root {
      --primary: #4CAF50;
      --primary-dark: #388E3C;
      --bg: #f4f6f8;
      --text: #333;
      --accent: #e8f5e9;
      --border: #d0d7de;
    }

    * {
      box-sizing: border-box;
    }

  html, body {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
      font-family: 'Segoe UI', sans-serif;
      background: var(--bg);
      color: var(--text);
      font-size: 16px;
      scroll-behavior: smooth;
      overflow-x: hidden;
    }
    
    .form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.form-group input {
  flex: 1 1 48%;
  padding: 14px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text);
  transition: all 0.2s ease;
}


    .funnel-container {
      max-width: 680px;
      margin: 2rem auto;
      padding: 2rem;
      background: white;
      border-radius: 18px;
      box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    }

    #progressBarWrapper {
      margin-bottom: 2rem;
    }

    #progressBarText {
      text-align: center;
      font-weight: 600;
      font-size: 1.1rem;
      margin-bottom: 8px;
    }

    #progressBarFill {
      height: 8px;
      background: var(--primary);
      width: 10%;
      border-radius: 4px;
      transition: width 0.4s ease;
    }

    fieldset.step {
      border: none;
      margin: 0 0 2rem;
      display: none;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    fieldset.step.active {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }

    legend {
      font-size: 1.5rem;
      color: var(--primary-dark);
      text-align: center;
      font-weight: 600;
      margin-bottom: 1.5rem;
    }

    input, select, textarea {
      width: 100%;
      padding: 14px;
      font-size: 1rem;
      margin-bottom: 1.5rem;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: #fff;
      transition: border-color 0.3s, box-shadow 0.3s;
    }

    input:focus, select:focus, textarea:focus {
      border-color: var(--primary);
      outline: none;
      box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
    }

    button {
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 8px;
      padding: 12px 20px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    button:hover {
      background: var(--primary-dark);
    }

    .option-group {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: space-between;
      margin-bottom: 1.5rem;
    }

    .option-group button {
      flex: 1 1 48%;
      padding: 14px;
      background: var(--accent);
      border: 2px solid var(--border);
      border-radius: 8px;
      font-size: 1rem;
      color: var(--text);
      transition: all 0.2s ease;
    }

    .option-group button.selected {
      background: var(--primary);
      color: white;
      border-color: var(--primary-dark);
    }

    .button-group {
      display: flex;
      gap: 10px;
      justify-content: space-between;
    }

    .upload-area {
      border: 2px dashed var(--border);
      border-radius: 8px;
      background: #fafafa;
      text-align: center;
      padding: 2rem;
      cursor: pointer;
      font-size: 1rem;
    }

    .upload-preview {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 1rem;
    }

    .upload-preview img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 6px;
      border: 1px solid #ccc;
    }

@media (max-width: 480px) {
  .funnel-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  form,
  fieldset.step {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
  }

  .option-group,
  .form-group {
    flex-direction: column;
    align-items: stretch;
  }

  .option-group button,
  .form-group input,
  .button-group button {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  button {
    width: 100%;
  }
}


.pitch-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.pitch-modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  text-align: center;
  position: relative;
}

.pitch-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

